pub enum StylesTextLeadingDistribution {
Even,
Proportional,
}Expand description
The TextLeadingDistribution enum.
Variants§
Trait Implementations§
impl Copy for StylesTextLeadingDistribution
Source§impl<'de> Deserialize<'de> for StylesTextLeadingDistribution
impl<'de> Deserialize<'de> for StylesTextLeadingDistribution
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
impl Eq for StylesTextLeadingDistribution
Source§impl From<&StylesTextLeadingDistribution> for StylesTextLeadingDistribution
impl From<&StylesTextLeadingDistribution> for StylesTextLeadingDistribution
Source§fn from(value: &StylesTextLeadingDistribution) -> Self
fn from(value: &StylesTextLeadingDistribution) -> Self
Converts to this type from the input type.
Source§impl Hash for StylesTextLeadingDistribution
impl Hash for StylesTextLeadingDistribution
Source§impl Ord for StylesTextLeadingDistribution
impl Ord for StylesTextLeadingDistribution
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for StylesTextLeadingDistribution
impl PartialOrd for StylesTextLeadingDistribution
impl StructuralPartialEq for StylesTextLeadingDistribution
Source§impl TryFrom<&String> for StylesTextLeadingDistribution
impl TryFrom<&String> for StylesTextLeadingDistribution
Source§impl TryFrom<&str> for StylesTextLeadingDistribution
impl TryFrom<&str> for StylesTextLeadingDistribution
Auto Trait Implementations§
impl Freeze for StylesTextLeadingDistribution
impl RefUnwindSafe for StylesTextLeadingDistribution
impl Send for StylesTextLeadingDistribution
impl Sync for StylesTextLeadingDistribution
impl Unpin for StylesTextLeadingDistribution
impl UnsafeUnpin for StylesTextLeadingDistribution
impl UnwindSafe for StylesTextLeadingDistribution
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