Struct dominator::WindowSize
source · [−]Expand description
This is returned by the window_size
function.
Fields
width: f64
height: f64
Trait Implementations
sourceimpl Clone for WindowSize
impl Clone for WindowSize
sourcefn clone(&self) -> WindowSize
fn clone(&self) -> WindowSize
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindowSize
impl Debug for WindowSize
sourceimpl PartialEq<WindowSize> for WindowSize
impl PartialEq<WindowSize> for WindowSize
sourcefn eq(&self, other: &WindowSize) -> bool
fn eq(&self, other: &WindowSize) -> bool
impl Copy for WindowSize
impl StructuralPartialEq for WindowSize
Auto Trait Implementations
impl RefUnwindSafe for WindowSize
impl Send for WindowSize
impl Sync for WindowSize
impl Unpin for WindowSize
impl UnwindSafe for WindowSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more