pub struct FlexContainerHighlightConfigBuilder { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Implementations§
Source§impl FlexContainerHighlightConfigBuilder
impl FlexContainerHighlightConfigBuilder
Sourcepub fn container_border(&mut self, v: LineStyle) -> &mut Self
pub fn container_border(&mut self, v: LineStyle) -> &mut Self
The style of the container border
Sourcepub fn line_separator(&mut self, v: LineStyle) -> &mut Self
pub fn line_separator(&mut self, v: LineStyle) -> &mut Self
The style of the separator between lines
Sourcepub fn item_separator(&mut self, v: LineStyle) -> &mut Self
pub fn item_separator(&mut self, v: LineStyle) -> &mut Self
The style of the separator between items
Sourcepub fn main_distributed_space(&mut self, v: BoxStyle) -> &mut Self
pub fn main_distributed_space(&mut self, v: BoxStyle) -> &mut Self
Style of content-distribution space on the main axis (justify-content).
Sourcepub fn cross_distributed_space(&mut self, v: BoxStyle) -> &mut Self
pub fn cross_distributed_space(&mut self, v: BoxStyle) -> &mut Self
Style of content-distribution space on the cross axis (align-content).
Sourcepub fn row_gap_space(&mut self, v: BoxStyle) -> &mut Self
pub fn row_gap_space(&mut self, v: BoxStyle) -> &mut Self
Style of empty space caused by row gaps (gap/row-gap).
Sourcepub fn column_gap_space(&mut self, v: BoxStyle) -> &mut Self
pub fn column_gap_space(&mut self, v: BoxStyle) -> &mut Self
Style of empty space caused by columns gaps (gap/column-gap).
Sourcepub fn cross_alignment(&mut self, v: LineStyle) -> &mut Self
pub fn cross_alignment(&mut self, v: LineStyle) -> &mut Self
Style of the self-alignment line (align-items).
pub fn build(&mut self) -> Result<FlexContainerHighlightConfig, &'static str>
Trait Implementations§
Source§impl Clone for FlexContainerHighlightConfigBuilder
impl Clone for FlexContainerHighlightConfigBuilder
Source§fn clone(&self) -> FlexContainerHighlightConfigBuilder
fn clone(&self) -> FlexContainerHighlightConfigBuilder
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 moreAuto Trait Implementations§
impl Freeze for FlexContainerHighlightConfigBuilder
impl RefUnwindSafe for FlexContainerHighlightConfigBuilder
impl Send for FlexContainerHighlightConfigBuilder
impl Sync for FlexContainerHighlightConfigBuilder
impl Unpin for FlexContainerHighlightConfigBuilder
impl UnwindSafe for FlexContainerHighlightConfigBuilder
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