pub enum Variant {
Normal,
SmallCaps,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl<'a> FromValueOptional<'a> for Variant
impl<'a> FromValueOptional<'a> for Variant
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Ord for Variant
impl Ord for Variant
Source§impl PartialOrd for Variant
impl PartialOrd for Variant
Source§impl StaticType for Variant
impl StaticType for Variant
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for Variant
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnwindSafe for Variant
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,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.