pub struct FlexContainerHighlightConfig { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Configuration data for the highlighting of Flex container elements.
Implementations§
Source§impl FlexContainerHighlightConfig
impl FlexContainerHighlightConfig
pub fn builder() -> FlexContainerHighlightConfigBuilder
Sourcepub fn container_border(&self) -> Option<&LineStyle>
pub fn container_border(&self) -> Option<&LineStyle>
The style of the container border
Sourcepub fn line_separator(&self) -> Option<&LineStyle>
pub fn line_separator(&self) -> Option<&LineStyle>
The style of the separator between lines
Sourcepub fn item_separator(&self) -> Option<&LineStyle>
pub fn item_separator(&self) -> Option<&LineStyle>
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>
pub fn cross_alignment(&self) -> 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<'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 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