pub enum SlantDef {
Upright,
Italic,
Oblique,
}
Expand description
Local mirror of fidl_fuchsia_fonts::Slant
, for use in JSON serialization.
Serialized values are lowercase, e.g. "italic"
.
Variants§
Implementations§
Source§impl<'de> SlantDef
impl<'de> SlantDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<Slant, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
impl Eq for SlantDef
impl StructuralPartialEq for SlantDef
Auto Trait Implementations§
impl Freeze for SlantDef
impl RefUnwindSafe for SlantDef
impl Send for SlantDef
impl Sync for SlantDef
impl Unpin for SlantDef
impl UnwindSafe for SlantDef
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)