pub enum FlexTextFontSize {
Xxs,
Xs,
Sm,
Md,
Lg,
Xl,
Xxl,
Variant3xl,
Variant4xl,
Variant5xl,
}
Expand description
FlexTextFontSize : Font size in the size
property of the Flex text component. You can specify the size in pixels or with a keyword. FlexTextFontSize just provides only keywords.
Font size in the size
property of the Flex text component. You can specify the size in pixels or with a keyword. FlexTextFontSize just provides only keywords.
Variants§
Trait Implementations§
Source§impl Clone for FlexTextFontSize
impl Clone for FlexTextFontSize
Source§fn clone(&self) -> FlexTextFontSize
fn clone(&self) -> FlexTextFontSize
Returns a copy of the value. Read more
1.0.0 · 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 FlexTextFontSize
impl Debug for FlexTextFontSize
Source§impl Default for FlexTextFontSize
impl Default for FlexTextFontSize
Source§fn default() -> FlexTextFontSize
fn default() -> FlexTextFontSize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlexTextFontSize
impl<'de> Deserialize<'de> for FlexTextFontSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FlexTextFontSize
impl Display for FlexTextFontSize
Source§impl Hash for FlexTextFontSize
impl Hash for FlexTextFontSize
Source§impl Ord for FlexTextFontSize
impl Ord for FlexTextFontSize
Source§fn cmp(&self, other: &FlexTextFontSize) -> Ordering
fn cmp(&self, other: &FlexTextFontSize) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FlexTextFontSize
impl PartialEq for FlexTextFontSize
Source§impl PartialOrd for FlexTextFontSize
impl PartialOrd for FlexTextFontSize
Source§impl Serialize for FlexTextFontSize
impl Serialize for FlexTextFontSize
impl Copy for FlexTextFontSize
impl Eq for FlexTextFontSize
impl StructuralPartialEq for FlexTextFontSize
Auto Trait Implementations§
impl Freeze for FlexTextFontSize
impl RefUnwindSafe for FlexTextFontSize
impl Send for FlexTextFontSize
impl Sync for FlexTextFontSize
impl Unpin for FlexTextFontSize
impl UnwindSafe for FlexTextFontSize
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.