pub struct FlexItemHighlightConfigBuilder { /* private fields */ }Expand description
Builder for FlexItemHighlightConfig.
Implementations§
Source§impl FlexItemHighlightConfigBuilder
impl FlexItemHighlightConfigBuilder
Sourcepub fn base_size_box<VALUE: Into<BoxStyle>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn base_size_box<VALUE: Into<BoxStyle>>( &mut self, value: VALUE, ) -> &mut Self
Style of the box representing the item’s base size
Sourcepub fn base_size_border<VALUE: Into<LineStyle>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn base_size_border<VALUE: Into<LineStyle>>( &mut self, value: VALUE, ) -> &mut Self
Style of the border around the box representing the item’s base size
Sourcepub fn flexibility_arrow<VALUE: Into<LineStyle>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn flexibility_arrow<VALUE: Into<LineStyle>>( &mut self, value: VALUE, ) -> &mut Self
Style of the arrow representing if the item grew or shrank
Sourcepub fn build(
&self,
) -> Result<FlexItemHighlightConfig, FlexItemHighlightConfigBuilderError>
pub fn build( &self, ) -> Result<FlexItemHighlightConfig, FlexItemHighlightConfigBuilderError>
Trait Implementations§
Source§impl Clone for FlexItemHighlightConfigBuilder
impl Clone for FlexItemHighlightConfigBuilder
Source§fn clone(&self) -> FlexItemHighlightConfigBuilder
fn clone(&self) -> FlexItemHighlightConfigBuilder
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 FlexItemHighlightConfigBuilder
impl RefUnwindSafe for FlexItemHighlightConfigBuilder
impl Send for FlexItemHighlightConfigBuilder
impl Sync for FlexItemHighlightConfigBuilder
impl Unpin for FlexItemHighlightConfigBuilder
impl UnsafeUnpin for FlexItemHighlightConfigBuilder
impl UnwindSafe for FlexItemHighlightConfigBuilder
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