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. FlexItemHighlightConfig
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
Implementations§
Source§impl FlexItemHighlightConfig
impl FlexItemHighlightConfig
pub const IDENTIFIER: &'static str = "Overlay.FlexItemHighlightConfig"
Trait Implementations§
Source§impl Clone for FlexItemHighlightConfig
impl Clone for FlexItemHighlightConfig
Source§fn clone(&self) -> FlexItemHighlightConfig
fn clone(&self) -> FlexItemHighlightConfig
Returns a copy 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<FlexItemHighlightConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FlexItemHighlightConfig, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more