pub struct LayoutFlexShrink(pub FloatValue);
Expand description
Represents a flex-shrink
attribute
Tuple Fields§
§0: FloatValue
Trait Implementations§
Source§impl Clone for LayoutFlexShrink
impl Clone for LayoutFlexShrink
Source§fn clone(&self) -> LayoutFlexShrink
fn clone(&self) -> LayoutFlexShrink
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 LayoutFlexShrink
impl Debug for LayoutFlexShrink
Source§impl Default for LayoutFlexShrink
impl Default for LayoutFlexShrink
Source§impl Display for LayoutFlexShrink
impl Display for LayoutFlexShrink
Source§impl FormatAsCssValue for LayoutFlexShrink
impl FormatAsCssValue for LayoutFlexShrink
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<LayoutFlexShrink> for CssProperty
impl From<LayoutFlexShrink> for CssProperty
Source§fn from(e: LayoutFlexShrink) -> Self
fn from(e: LayoutFlexShrink) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutFlexShrink
impl Hash for LayoutFlexShrink
Source§impl Ord for LayoutFlexShrink
impl Ord for LayoutFlexShrink
Source§fn cmp(&self, other: &LayoutFlexShrink) -> Ordering
fn cmp(&self, other: &LayoutFlexShrink) -> 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 LayoutFlexShrink
impl PartialEq for LayoutFlexShrink
Source§impl PartialOrd for LayoutFlexShrink
impl PartialOrd for LayoutFlexShrink
impl Copy for LayoutFlexShrink
impl Eq for LayoutFlexShrink
impl StructuralPartialEq for LayoutFlexShrink
Auto Trait Implementations§
impl Freeze for LayoutFlexShrink
impl RefUnwindSafe for LayoutFlexShrink
impl Send for LayoutFlexShrink
impl Sync for LayoutFlexShrink
impl Unpin for LayoutFlexShrink
impl UnwindSafe for LayoutFlexShrink
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
)