pub enum PaxUnit {
Percent,
Pixels,
Radians,
Degrees,
Milliseconds,
Seconds,
Frames,
}Expand description
Unit suffix attached to a grouped numeric expression.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PaxUnit
impl<'de> Deserialize<'de> for PaxUnit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PaxUnit
Auto Trait Implementations§
impl Freeze for PaxUnit
impl RefUnwindSafe for PaxUnit
impl Send for PaxUnit
impl Sync for PaxUnit
impl Unpin for PaxUnit
impl UnsafeUnpin for PaxUnit
impl UnwindSafe for PaxUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.