pub struct FlexItemHighlightConfig { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Configuration data for the highlighting of Flex item elements.
Implementations§
Source§impl FlexItemHighlightConfig
impl FlexItemHighlightConfig
pub fn new( base_size_box: Option<BoxStyle>, base_size_border: Option<LineStyle>, flexibility_arrow: Option<LineStyle>, ) -> Self
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>
pub fn base_size_border(&self) -> Option<&LineStyle>
Style of the border around the box representing the item’s base size
Sourcepub fn flexibility_arrow(&self) -> Option<&LineStyle>
pub fn flexibility_arrow(&self) -> 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 (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 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
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