pub struct FlexContainerHighlightConfig<'a> { /* private fields */ }Expand description
Configuration data for the highlighting of Flex container elements.
Implementations§
Source§impl<'a> FlexContainerHighlightConfig<'a>
impl<'a> FlexContainerHighlightConfig<'a>
Sourcepub fn builder() -> FlexContainerHighlightConfigBuilder<'a>
pub fn builder() -> FlexContainerHighlightConfigBuilder<'a>
Creates a builder for this type.
Sourcepub fn container_border(&self) -> Option<&LineStyle<'a>>
pub fn container_border(&self) -> Option<&LineStyle<'a>>
The style of the container border
Sourcepub fn line_separator(&self) -> Option<&LineStyle<'a>>
pub fn line_separator(&self) -> Option<&LineStyle<'a>>
The style of the separator between lines
Sourcepub fn item_separator(&self) -> Option<&LineStyle<'a>>
pub fn item_separator(&self) -> Option<&LineStyle<'a>>
The style of the separator between items
Sourcepub fn main_distributed_space(&self) -> Option<&BoxStyle>
pub fn main_distributed_space(&self) -> Option<&BoxStyle>
Style of content-distribution space on the main axis (justify-content).
Sourcepub fn cross_distributed_space(&self) -> Option<&BoxStyle>
pub fn cross_distributed_space(&self) -> Option<&BoxStyle>
Style of content-distribution space on the cross axis (align-content).
Sourcepub fn row_gap_space(&self) -> Option<&BoxStyle>
pub fn row_gap_space(&self) -> Option<&BoxStyle>
Style of empty space caused by row gaps (gap/row-gap).
Sourcepub fn column_gap_space(&self) -> Option<&BoxStyle>
pub fn column_gap_space(&self) -> Option<&BoxStyle>
Style of empty space caused by columns gaps (gap/column-gap).
Sourcepub fn cross_alignment(&self) -> Option<&LineStyle<'a>>
pub fn cross_alignment(&self) -> Option<&LineStyle<'a>>
Style of the self-alignment line (align-items).
Trait Implementations§
Source§impl<'a> Clone for FlexContainerHighlightConfig<'a>
impl<'a> Clone for FlexContainerHighlightConfig<'a>
Source§fn clone(&self) -> FlexContainerHighlightConfig<'a>
fn clone(&self) -> FlexContainerHighlightConfig<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for FlexContainerHighlightConfig<'a>
impl<'a> Debug for FlexContainerHighlightConfig<'a>
Source§impl<'a> Default for FlexContainerHighlightConfig<'a>
impl<'a> Default for FlexContainerHighlightConfig<'a>
Source§fn default() -> FlexContainerHighlightConfig<'a>
fn default() -> FlexContainerHighlightConfig<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for FlexContainerHighlightConfig<'a>
impl<'de, 'a> Deserialize<'de> for FlexContainerHighlightConfig<'a>
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<'a> Freeze for FlexContainerHighlightConfig<'a>
impl<'a> RefUnwindSafe for FlexContainerHighlightConfig<'a>
impl<'a> Send for FlexContainerHighlightConfig<'a>
impl<'a> Sync for FlexContainerHighlightConfig<'a>
impl<'a> Unpin for FlexContainerHighlightConfig<'a>
impl<'a> UnsafeUnpin for FlexContainerHighlightConfig<'a>
impl<'a> UnwindSafe for FlexContainerHighlightConfig<'a>
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