pub struct FlexItemHighlightConfig<'a> { /* private fields */ }Expand description
Configuration data for the highlighting of Flex item elements.
Implementations§
Source§impl<'a> FlexItemHighlightConfig<'a>
impl<'a> FlexItemHighlightConfig<'a>
Sourcepub fn builder() -> FlexItemHighlightConfigBuilder<'a>
pub fn builder() -> FlexItemHighlightConfigBuilder<'a>
Creates a builder for this type.
Sourcepub fn base_size_box(&self) -> Option<&BoxStyle>
pub fn base_size_box(&self) -> Option<&BoxStyle>
Style of the box representing the item’s base size
Sourcepub fn base_size_border(&self) -> Option<&LineStyle<'a>>
pub fn base_size_border(&self) -> Option<&LineStyle<'a>>
Style of the border around the box representing the item’s base size
Sourcepub fn flexibility_arrow(&self) -> Option<&LineStyle<'a>>
pub fn flexibility_arrow(&self) -> Option<&LineStyle<'a>>
Style of the arrow representing if the item grew or shrank
Trait Implementations§
Source§impl<'a> Clone for FlexItemHighlightConfig<'a>
impl<'a> Clone for FlexItemHighlightConfig<'a>
Source§fn clone(&self) -> FlexItemHighlightConfig<'a>
fn clone(&self) -> FlexItemHighlightConfig<'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 FlexItemHighlightConfig<'a>
impl<'a> Debug for FlexItemHighlightConfig<'a>
Source§impl<'a> Default for FlexItemHighlightConfig<'a>
impl<'a> Default for FlexItemHighlightConfig<'a>
Source§fn default() -> FlexItemHighlightConfig<'a>
fn default() -> FlexItemHighlightConfig<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for FlexItemHighlightConfig<'a>
impl<'de, 'a> Deserialize<'de> for FlexItemHighlightConfig<'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 FlexItemHighlightConfig<'a>
impl<'a> RefUnwindSafe for FlexItemHighlightConfig<'a>
impl<'a> Send for FlexItemHighlightConfig<'a>
impl<'a> Sync for FlexItemHighlightConfig<'a>
impl<'a> Unpin for FlexItemHighlightConfig<'a>
impl<'a> UnsafeUnpin for FlexItemHighlightConfig<'a>
impl<'a> UnwindSafe for FlexItemHighlightConfig<'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