pub struct FlexItemHighlightConfig {
pub baseSizeBox: Option<BoxStyle>,
pub baseSizeBorder: Option<LineStyle>,
pub flexibilityArrow: Option<LineStyle>,
}Expand description
Configuration data for the highlighting of Flex item elements.
Fields§
§baseSizeBox: Option<BoxStyle>Style of the box representing the item’s base size
baseSizeBorder: Option<LineStyle>Style of the border around the box representing the item’s base size
flexibilityArrow: 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 Default for FlexItemHighlightConfig
impl Default for FlexItemHighlightConfig
Source§fn default() -> FlexItemHighlightConfig
fn default() -> FlexItemHighlightConfig
Returns the “default value” for a type. Read more
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
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