pub enum WidthDef {
UltraCondensed,
ExtraCondensed,
Condensed,
SemiCondensed,
Normal,
SemiExpanded,
Expanded,
ExtraExpanded,
UltraExpanded,
}
Expand description
Local mirror of fidl_fuchsia_fonts::Width
, for use in JSON serialization.
Serialized values are in kebab-case, e.g. "semi-condensed"
.
Variants§
UltraCondensed
ExtraCondensed
Condensed
SemiCondensed
Normal
SemiExpanded
Expanded
ExtraExpanded
UltraExpanded
Implementations§
Source§impl<'de> WidthDef
impl<'de> WidthDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<Width, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
impl Eq for WidthDef
impl StructuralPartialEq for WidthDef
Auto Trait Implementations§
impl Freeze for WidthDef
impl RefUnwindSafe for WidthDef
impl Send for WidthDef
impl Sync for WidthDef
impl Unpin for WidthDef
impl UnwindSafe for WidthDef
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
)