pub enum TypographyLevel {
H1,
H2,
H3,
H4,
Title {
size: Size,
},
Body {
size: Size,
},
Custom(String),
Star,
}
Expand description
The level for typography
Variants§
Trait Implementations§
Source§impl Clone for TypographyLevel
impl Clone for TypographyLevel
Source§fn clone(&self) -> TypographyLevel
fn clone(&self) -> TypographyLevel
Returns a duplicate 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 TypographyLevel
impl Debug for TypographyLevel
Source§impl Default for TypographyLevel
impl Default for TypographyLevel
Source§impl<'de> Deserialize<'de> for TypographyLevel
impl<'de> Deserialize<'de> for TypographyLevel
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 TypographyLevel
impl Display for TypographyLevel
Source§impl From<&str> for TypographyLevel
impl From<&str> for TypographyLevel
Source§impl Hash for TypographyLevel
impl Hash for TypographyLevel
Source§impl IntoPropValue<TypographyLevel> for &str
impl IntoPropValue<TypographyLevel> for &str
Source§fn into_prop_value(self) -> TypographyLevel
fn into_prop_value(self) -> TypographyLevel
Convert
self
to a value of a Properties
struct.Source§impl PartialEq for TypographyLevel
impl PartialEq for TypographyLevel
impl Eq for TypographyLevel
impl StructuralPartialEq for TypographyLevel
Auto Trait Implementations§
impl Freeze for TypographyLevel
impl RefUnwindSafe for TypographyLevel
impl Send for TypographyLevel
impl Sync for TypographyLevel
impl Unpin for TypographyLevel
impl UnwindSafe for TypographyLevel
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<T> FromQuery for Twhere
T: DeserializeOwned,
impl<T> FromQuery for Twhere
T: DeserializeOwned,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.