Skip to main content

TreeViewStyle

Struct TreeViewStyle 

Source
pub struct TreeViewStyle<'a>(pub Pin<Rc<InnerTreeViewStyle>>, pub PhantomData<&'a InnerTreeViewStyle>);

Tuple Fields§

§0: Pin<Rc<InnerTreeViewStyle>>§1: PhantomData<&'a InnerTreeViewStyle>

Implementations§

Source§

impl<'a> TreeViewStyle<'a>

Source

pub fn get_background_color(&self) -> Color

Source

pub fn set_background_color(&self, value: Color)

Source

pub fn get_branch_indicator_color(&self) -> Color

Source

pub fn set_branch_indicator_color(&self, value: Color)

Source

pub fn get_branch_indicator_width(&self) -> Coord

Source

pub fn set_branch_indicator_width(&self, value: Coord)

Source

pub fn get_branch_line_color(&self) -> Color

Source

pub fn set_branch_line_color(&self, value: Color)

Source

pub fn get_collapsed_branch_indicator(&self) -> SharedString

Source

pub fn set_collapsed_branch_indicator(&self, value: SharedString)

Source

pub fn get_decoration_spacing(&self) -> Coord

Source

pub fn set_decoration_spacing(&self, value: Coord)

Source

pub fn get_disabled_opacity(&self) -> f32

Source

pub fn set_disabled_opacity(&self, value: f32)

Source

pub fn get_disabled_text_color(&self) -> Color

Source

pub fn set_disabled_text_color(&self, value: Color)

Source

pub fn get_drop_indicator_color(&self) -> Color

Source

pub fn set_drop_indicator_color(&self, value: Color)

Source

pub fn get_expanded_branch_indicator(&self) -> SharedString

Source

pub fn set_expanded_branch_indicator(&self, value: SharedString)

Source

pub fn get_highlight_color(&self) -> Color

Source

pub fn set_highlight_color(&self, value: Color)

Source

pub fn get_highlighted_text_color(&self) -> Color

Source

pub fn set_highlighted_text_color(&self, value: Color)

Source

pub fn get_horizontal_padding(&self) -> Coord

Source

pub fn set_horizontal_padding(&self, value: Coord)

Source

pub fn get_hover_color(&self) -> Color

Source

pub fn set_hover_color(&self, value: Color)

Source

pub fn get_inactive_highlight_color(&self) -> Color

Source

pub fn set_inactive_highlight_color(&self, value: Color)

Source

pub fn get_inactive_highlighted_text_color(&self) -> Color

Source

pub fn set_inactive_highlighted_text_color(&self, value: Color)

Source

pub fn get_indentation(&self) -> Coord

Source

pub fn set_indentation(&self, value: Coord)

Source

pub fn get_row_height(&self) -> Coord

Source

pub fn set_row_height(&self, value: Coord)

Source

pub fn get_text_color(&self) -> Color

Source

pub fn set_text_color(&self, value: Color)

Trait Implementations§

Source§

impl<'a> Global<'a, TreeView> for TreeViewStyle<'a>

Source§

type StaticSelf = TreeViewStyle<'static>

The Self type, with a 'static lifetime.
Source§

fn get(component: &'a TreeView) -> Self

Returns a reference to the global.
Source§

fn as_weak(&self) -> Weak<Self::StaticSelf>

Convert this Global reference into a weak reference. Read more
Source§

impl StrongHandle for TreeViewStyle<'static>

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for TreeViewStyle<'a>

§

impl<'a> !Send for TreeViewStyle<'a>

§

impl<'a> !Sync for TreeViewStyle<'a>

§

impl<'a> !UnwindSafe for TreeViewStyle<'a>

§

impl<'a> Freeze for TreeViewStyle<'a>

§

impl<'a> Unpin for TreeViewStyle<'a>

§

impl<'a> UnsafeUnpin for TreeViewStyle<'a>

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.