pub struct FlexItemHighlightConfig {
pub base_size_box: Option<BoxStyle>,
pub base_size_border: Option<LineStyle>,
pub flexibility_arrow: Option<LineStyle>,
}Expand description
Configuration data for the highlighting of Flex item elements.
Fields§
§base_size_box: Option<BoxStyle>Style of the box representing the item’s base size
base_size_border: Option<LineStyle>Style of the border around the box representing the item’s base size
flexibility_arrow: Option<LineStyle>Style of the arrow representing if the item grew or shrank
Trait Implementations§
Source§impl Clone for FlexItemHighlightConfig
impl Clone for FlexItemHighlightConfig
Source§fn clone(&self) -> FlexItemHighlightConfig
fn clone(&self) -> FlexItemHighlightConfig
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 FlexItemHighlightConfig
impl Debug for FlexItemHighlightConfig
Source§impl<'de> Deserialize<'de> for FlexItemHighlightConfig
impl<'de> Deserialize<'de> for FlexItemHighlightConfig
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
Source§impl PartialEq for FlexItemHighlightConfig
impl PartialEq for FlexItemHighlightConfig
Source§impl Serialize for FlexItemHighlightConfig
impl Serialize for FlexItemHighlightConfig
impl StructuralPartialEq for FlexItemHighlightConfig
Auto Trait Implementations§
impl Freeze for FlexItemHighlightConfig
impl RefUnwindSafe for FlexItemHighlightConfig
impl Send for FlexItemHighlightConfig
impl Sync for FlexItemHighlightConfig
impl Unpin for FlexItemHighlightConfig
impl UnsafeUnpin for FlexItemHighlightConfig
impl UnwindSafe for FlexItemHighlightConfig
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