#[repr(C)]pub enum LayoutFlexWrap {
Wrap = 0,
NoWrap = 1,
WrapReverse = 2,
}Expand description
Represents a flex-wrap attribute, which determines whether flex items
are forced onto one line or can wrap onto multiple lines.
Default: NoWrap
Variants§
Trait Implementations§
Source§impl Clone for LayoutFlexWrap
impl Clone for LayoutFlexWrap
Source§fn clone(&self) -> LayoutFlexWrap
fn clone(&self) -> LayoutFlexWrap
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 LayoutFlexWrap
impl Debug for LayoutFlexWrap
Source§impl Default for LayoutFlexWrap
impl Default for LayoutFlexWrap
Source§impl FormatAsRustCode for LayoutFlexWrap
impl FormatAsRustCode for LayoutFlexWrap
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<LayoutFlexWrap> for CssProperty
impl From<LayoutFlexWrap> for CssProperty
Source§fn from(e: LayoutFlexWrap) -> Self
fn from(e: LayoutFlexWrap) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutFlexWrap
impl Hash for LayoutFlexWrap
Source§impl Ord for LayoutFlexWrap
impl Ord for LayoutFlexWrap
Source§fn cmp(&self, other: &LayoutFlexWrap) -> Ordering
fn cmp(&self, other: &LayoutFlexWrap) -> 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 LayoutFlexWrap
impl PartialEq for LayoutFlexWrap
Source§impl PartialOrd for LayoutFlexWrap
impl PartialOrd for LayoutFlexWrap
Source§impl PrintAsCssValue for LayoutFlexWrap
impl PrintAsCssValue for LayoutFlexWrap
fn print_as_css_value(&self) -> String
impl Copy for LayoutFlexWrap
impl Eq for LayoutFlexWrap
impl StructuralPartialEq for LayoutFlexWrap
Auto Trait Implementations§
impl Freeze for LayoutFlexWrap
impl RefUnwindSafe for LayoutFlexWrap
impl Send for LayoutFlexWrap
impl Sync for LayoutFlexWrap
impl Unpin for LayoutFlexWrap
impl UnwindSafe for LayoutFlexWrap
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