Skip to main content

InnerTreeViewStyle

Struct InnerTreeViewStyle 

Source
pub struct InnerTreeViewStyle {
Show 19 fields pub background_color: Property<Color>, pub branch_indicator_color: Property<Color>, pub branch_indicator_width: Property<LogicalLength>, pub branch_line_color: Property<Color>, pub collapsed_branch_indicator: Property<SharedString>, pub decoration_spacing: Property<LogicalLength>, pub disabled_opacity: Property<f32>, pub disabled_text_color: Property<Color>, pub drop_indicator_color: Property<Color>, pub expanded_branch_indicator: Property<SharedString>, pub highlight_color: Property<Color>, pub highlighted_text_color: Property<Color>, pub horizontal_padding: Property<LogicalLength>, pub hover_color: Property<Color>, pub inactive_highlight_color: Property<Color>, pub inactive_highlighted_text_color: Property<Color>, pub indentation: Property<LogicalLength>, pub row_height: Property<LogicalLength>, pub text_color: Property<Color>, /* private fields */
}

Fields§

§background_color: Property<Color>§branch_indicator_color: Property<Color>§branch_indicator_width: Property<LogicalLength>§branch_line_color: Property<Color>§collapsed_branch_indicator: Property<SharedString>§decoration_spacing: Property<LogicalLength>§disabled_opacity: Property<f32>§disabled_text_color: Property<Color>§drop_indicator_color: Property<Color>§expanded_branch_indicator: Property<SharedString>§highlight_color: Property<Color>§highlighted_text_color: Property<Color>§horizontal_padding: Property<LogicalLength>§hover_color: Property<Color>§inactive_highlight_color: Property<Color>§inactive_highlighted_text_color: Property<Color>§indentation: Property<LogicalLength>§row_height: Property<LogicalLength>§text_color: Property<Color>

Implementations§

Source§

impl InnerTreeViewStyle

Source

pub const FIELD_OFFSETS: InnerTreeViewStyleFieldsOffsets = InnerTreeViewStyleFieldsOffsets

Return a zero-sized helper whose methods return field offsets.

Trait Implementations§

Source§

impl Default for InnerTreeViewStyle

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'__dummy_lifetime> Unpin for InnerTreeViewStyle
where __MustNotImplUnpin<'__dummy_lifetime>: Unpin,

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.