Struct ResolutionScale
#[repr(transparent)]pub struct ResolutionScale(pub i32);Tuple Fields§
§0: i32Implementations§
§impl ResolutionScale
impl ResolutionScale
pub const Invalid: Self
pub const Scale100Percent: Self
pub const Scale120Percent: Self
pub const Scale125Percent: Self
pub const Scale140Percent: Self
pub const Scale150Percent: Self
pub const Scale160Percent: Self
pub const Scale175Percent: Self
pub const Scale180Percent: Self
pub const Scale200Percent: Self
pub const Scale225Percent: Self
pub const Scale250Percent: Self
pub const Scale300Percent: Self
pub const Scale350Percent: Self
pub const Scale400Percent: Self
pub const Scale450Percent: Self
pub const Scale500Percent: Self
Trait Implementations§
§impl Clone for ResolutionScale
impl Clone for ResolutionScale
§fn clone(&self) -> ResolutionScale
fn clone(&self) -> ResolutionScale
Returns a duplicate 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 more§impl Debug for ResolutionScale
impl Debug for ResolutionScale
§impl Default for ResolutionScale
impl Default for ResolutionScale
§fn default() -> ResolutionScale
fn default() -> ResolutionScale
Returns the “default value” for a type. Read more
§impl PartialEq for ResolutionScale
impl PartialEq for ResolutionScale
impl Copy for ResolutionScale
impl Eq for ResolutionScale
impl StructuralPartialEq for ResolutionScale
Auto Trait Implementations§
impl Freeze for ResolutionScale
impl RefUnwindSafe for ResolutionScale
impl Send for ResolutionScale
impl Sync for ResolutionScale
impl Unpin for ResolutionScale
impl UnwindSafe for ResolutionScale
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