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