Struct tauri_sys::window::LogicalSize
source · pub struct LogicalSize(/* private fields */);
Expand description
A size represented in logical pixels.
Implementations§
Trait Implementations§
source§impl Clone for LogicalSize
impl Clone for LogicalSize
source§fn clone(&self) -> LogicalSize
fn clone(&self) -> LogicalSize
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LogicalSize
impl Debug for LogicalSize
source§impl From<LogicalSize> for Size
impl From<LogicalSize> for Size
source§fn from(size: LogicalSize) -> Self
fn from(size: LogicalSize) -> Self
Converts to this type from the input type.
source§impl PartialEq for LogicalSize
impl PartialEq for LogicalSize
source§fn eq(&self, other: &LogicalSize) -> bool
fn eq(&self, other: &LogicalSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogicalSize
Auto Trait Implementations§
impl Freeze for LogicalSize
impl RefUnwindSafe for LogicalSize
impl !Send for LogicalSize
impl !Sync for LogicalSize
impl Unpin for LogicalSize
impl UnwindSafe for LogicalSize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)