pub struct FlexFlowStyleValue {
pub flex_direction: Option<FlexDirectionStyleValue>,
pub flex_wrap: Option<FlexWrapStyleValue>,
}Expand description
Represents the style value for flex-flow as defined in css-flexbox-1.
Flexbox is a one-dimensional layout system, which places content either horizontally or vertically, with optional wrapping.
The grammar is defined as:
<'flex-direction'> || <'flex-wrap'>Fields§
§flex_direction: Option<FlexDirectionStyleValue>§flex_wrap: Option<FlexWrapStyleValue>Trait Implementations§
Source§impl Clone for FlexFlowStyleValue
impl Clone for FlexFlowStyleValue
Source§fn clone(&self) -> FlexFlowStyleValue
fn clone(&self) -> FlexFlowStyleValue
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 FlexFlowStyleValue
impl Debug for FlexFlowStyleValue
Source§impl Hash for FlexFlowStyleValue
impl Hash for FlexFlowStyleValue
Source§impl Ord for FlexFlowStyleValue
impl Ord for FlexFlowStyleValue
Source§fn cmp(&self, other: &FlexFlowStyleValue) -> Ordering
fn cmp(&self, other: &FlexFlowStyleValue) -> 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<'a> Parse<'a> for FlexFlowStyleValue
impl<'a> Parse<'a> for FlexFlowStyleValue
Source§impl PartialEq for FlexFlowStyleValue
impl PartialEq for FlexFlowStyleValue
Source§impl PartialOrd for FlexFlowStyleValue
impl PartialOrd for FlexFlowStyleValue
Source§impl<'a> Peek<'a> for FlexFlowStyleValue
impl<'a> Peek<'a> for FlexFlowStyleValue
Source§impl ToCursors for FlexFlowStyleValue
impl ToCursors for FlexFlowStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for FlexFlowStyleValue
impl StructuralPartialEq for FlexFlowStyleValue
Auto Trait Implementations§
impl Freeze for FlexFlowStyleValue
impl RefUnwindSafe for FlexFlowStyleValue
impl Send for FlexFlowStyleValue
impl Sync for FlexFlowStyleValue
impl Unpin for FlexFlowStyleValue
impl UnwindSafe for FlexFlowStyleValue
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