Struct patternfly_yew::layouts::flex::FlexProperties
source · pub struct FlexProperties {
pub children: ChildrenRenderer<FlexChildVariant>,
pub modifiers: WithBreakpoints<FlexModifier>,
pub spacer: WithBreakpoints<Spacer>,
pub space_items: WithBreakpoints<SpaceItems>,
}
Fields§
§children: ChildrenRenderer<FlexChildVariant>
§modifiers: WithBreakpoints<FlexModifier>
§spacer: WithBreakpoints<Spacer>
Individual spacing for this item, in context of its siblings.
space_items: WithBreakpoints<SpaceItems>
Spacing for all child items.
Trait Implementations§
source§impl Clone for FlexProperties
impl Clone for FlexProperties
source§fn clone(&self) -> FlexProperties
fn clone(&self) -> FlexProperties
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 From<FlexProperties> for FlexChild
impl From<FlexProperties> for FlexChild
source§fn from(props: FlexProperties) -> Self
fn from(props: FlexProperties) -> Self
Converts to this type from the input type.
source§impl PartialEq for FlexProperties
impl PartialEq for FlexProperties
source§fn eq(&self, other: &FlexProperties) -> bool
fn eq(&self, other: &FlexProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for FlexProperties
impl Properties for FlexProperties
impl StructuralPartialEq for FlexProperties
Auto Trait Implementations§
impl Freeze for FlexProperties
impl !RefUnwindSafe for FlexProperties
impl !Send for FlexProperties
impl !Sync for FlexProperties
impl Unpin for FlexProperties
impl !UnwindSafe for FlexProperties
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.