pub enum StylesBoxWidthStyle {
Max,
Tight,
}Expand description
Component of type BoxWidthStyle.
Variants§
Trait Implementations§
Source§impl Clone for StylesBoxWidthStyle
impl Clone for StylesBoxWidthStyle
impl Copy for StylesBoxWidthStyle
Source§impl Debug for StylesBoxWidthStyle
impl Debug for StylesBoxWidthStyle
Source§impl<'de> Deserialize<'de> for StylesBoxWidthStyle
impl<'de> Deserialize<'de> for StylesBoxWidthStyle
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 StylesBoxWidthStyle
Source§impl From<&StylesBoxWidthStyle> for StylesBoxWidthStyle
impl From<&StylesBoxWidthStyle> for StylesBoxWidthStyle
Source§fn from(value: &StylesBoxWidthStyle) -> Self
fn from(value: &StylesBoxWidthStyle) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesBoxWidthStyle
impl FromStr for StylesBoxWidthStyle
Source§impl Hash for StylesBoxWidthStyle
impl Hash for StylesBoxWidthStyle
Source§impl Ord for StylesBoxWidthStyle
impl Ord for StylesBoxWidthStyle
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 PartialEq for StylesBoxWidthStyle
impl PartialEq for StylesBoxWidthStyle
Source§impl PartialOrd for StylesBoxWidthStyle
impl PartialOrd for StylesBoxWidthStyle
Source§impl Serialize for StylesBoxWidthStyle
impl Serialize for StylesBoxWidthStyle
impl StructuralPartialEq for StylesBoxWidthStyle
Source§impl ToString for StylesBoxWidthStyle
impl ToString for StylesBoxWidthStyle
Source§impl TryFrom<&String> for StylesBoxWidthStyle
impl TryFrom<&String> for StylesBoxWidthStyle
Source§impl TryFrom<&str> for StylesBoxWidthStyle
impl TryFrom<&str> for StylesBoxWidthStyle
Auto Trait Implementations§
impl Freeze for StylesBoxWidthStyle
impl RefUnwindSafe for StylesBoxWidthStyle
impl Send for StylesBoxWidthStyle
impl Sync for StylesBoxWidthStyle
impl Unpin for StylesBoxWidthStyle
impl UnsafeUnpin for StylesBoxWidthStyle
impl UnwindSafe for StylesBoxWidthStyle
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