Struct ResolutionScale
#[repr(transparent)]pub struct ResolutionScale(pub i32);
Tuple Fields§
§0: i32
Implementations§
§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 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 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