pub struct FlexContainerHighlightConfig {
pub containerBorder: Option<LineStyle>,
pub lineSeparator: Option<LineStyle>,
pub itemSeparator: Option<LineStyle>,
pub mainDistributedSpace: Option<BoxStyle>,
pub crossDistributedSpace: Option<BoxStyle>,
pub rowGapSpace: Option<BoxStyle>,
pub columnGapSpace: Option<BoxStyle>,
pub crossAlignment: Option<LineStyle>,
}Expand description
Configuration data for the highlighting of Flex container elements.
Fields§
§containerBorder: Option<LineStyle>The style of the container border
lineSeparator: Option<LineStyle>The style of the separator between lines
itemSeparator: Option<LineStyle>The style of the separator between items
mainDistributedSpace: Option<BoxStyle>Style of content-distribution space on the main axis (justify-content).
crossDistributedSpace: Option<BoxStyle>Style of content-distribution space on the cross axis (align-content).
rowGapSpace: Option<BoxStyle>Style of empty space caused by row gaps (gap/row-gap).
columnGapSpace: Option<BoxStyle>Style of empty space caused by columns gaps (gap/column-gap).
crossAlignment: Option<LineStyle>Style of the self-alignment line (align-items).
Trait Implementations§
Source§impl Clone for FlexContainerHighlightConfig
impl Clone for FlexContainerHighlightConfig
Source§fn clone(&self) -> FlexContainerHighlightConfig
fn clone(&self) -> FlexContainerHighlightConfig
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 FlexContainerHighlightConfig
impl Debug for FlexContainerHighlightConfig
Source§impl Default for FlexContainerHighlightConfig
impl Default for FlexContainerHighlightConfig
Source§fn default() -> FlexContainerHighlightConfig
fn default() -> FlexContainerHighlightConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlexContainerHighlightConfig
impl<'de> Deserialize<'de> for FlexContainerHighlightConfig
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
Auto Trait Implementations§
impl Freeze for FlexContainerHighlightConfig
impl RefUnwindSafe for FlexContainerHighlightConfig
impl Send for FlexContainerHighlightConfig
impl Sync for FlexContainerHighlightConfig
impl Unpin for FlexContainerHighlightConfig
impl UnsafeUnpin for FlexContainerHighlightConfig
impl UnwindSafe for FlexContainerHighlightConfig
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