Enum UIScaling
#[repr(u8)]pub enum UIScaling {
Small = 0,
Normal = 1,
Large = 2,
Larger = 3,
}Expand description
User UI scaling.
Variants§
Trait Implementations§
§impl<'de> Deserialize<'de> for UIScaling
impl<'de> Deserialize<'de> for UIScaling
§fn deserialize<D>(
deserializer: D,
) -> Result<UIScaling, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<UIScaling, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Ord for UIScaling
impl Ord for UIScaling
§impl PartialOrd for UIScaling
impl PartialOrd for UIScaling
§impl Serialize for UIScaling
impl Serialize for UIScaling
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for UIScaling
impl Eq for UIScaling
impl StructuralPartialEq for UIScaling
Auto Trait Implementations§
impl Freeze for UIScaling
impl RefUnwindSafe for UIScaling
impl Send for UIScaling
impl Sync for UIScaling
impl Unpin for UIScaling
impl UnwindSafe for UIScaling
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