pub enum TypeUnitError {
InvalidPx,
InvalidRem,
InvalidEm,
InvalidPt,
InvalidRootSize,
InvalidParentSize,
}Variants§
Trait Implementations§
Source§impl Clone for TypeUnitError
impl Clone for TypeUnitError
Source§fn clone(&self) -> TypeUnitError
fn clone(&self) -> TypeUnitError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeUnitError
impl Debug for TypeUnitError
Source§impl PartialEq for TypeUnitError
impl PartialEq for TypeUnitError
Source§fn eq(&self, other: &TypeUnitError) -> bool
fn eq(&self, other: &TypeUnitError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TypeUnitError
impl Eq for TypeUnitError
impl StructuralPartialEq for TypeUnitError
Auto Trait Implementations§
impl Freeze for TypeUnitError
impl RefUnwindSafe for TypeUnitError
impl Send for TypeUnitError
impl Sync for TypeUnitError
impl Unpin for TypeUnitError
impl UnsafeUnpin for TypeUnitError
impl UnwindSafe for TypeUnitError
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