#[repr(u8)]pub enum DisplayScale {
Normal = 1,
Double = 2,
Quad = 4,
Eight = 8,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DisplayScale
impl Clone for DisplayScale
Source§fn clone(&self) -> DisplayScale
fn clone(&self) -> DisplayScale
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DisplayScale
impl Debug for DisplayScale
Source§impl Display for DisplayScale
impl Display for DisplayScale
Source§impl Into<u32> for DisplayScale
impl Into<u32> for DisplayScale
Source§impl PartialEq for DisplayScale
impl PartialEq for DisplayScale
impl Copy for DisplayScale
impl Eq for DisplayScale
impl StructuralPartialEq for DisplayScale
Auto Trait Implementations§
impl Freeze for DisplayScale
impl RefUnwindSafe for DisplayScale
impl Send for DisplayScale
impl Sync for DisplayScale
impl Unpin for DisplayScale
impl UnwindSafe for DisplayScale
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T> ToString for Twhere
T: Display + ?Sized,
impl<T> ToString for Twhere
T: Display + ?Sized,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Normal: 0 bytesDouble: 0 bytesQuad: 0 bytesEight: 0 bytes