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>
impl<'a> TreeViewStyle<'a>
pub fn get_background_color(&self) -> Color
pub fn set_background_color(&self, value: Color)
pub fn get_branch_indicator_color(&self) -> Color
pub fn set_branch_indicator_color(&self, value: Color)
pub fn get_branch_indicator_width(&self) -> Coord
pub fn set_branch_indicator_width(&self, value: Coord)
pub fn get_branch_line_color(&self) -> Color
pub fn set_branch_line_color(&self, value: Color)
pub fn get_collapsed_branch_indicator(&self) -> SharedString
pub fn set_collapsed_branch_indicator(&self, value: SharedString)
pub fn get_decoration_spacing(&self) -> Coord
pub fn set_decoration_spacing(&self, value: Coord)
pub fn get_disabled_opacity(&self) -> f32
pub fn set_disabled_opacity(&self, value: f32)
pub fn get_disabled_text_color(&self) -> Color
pub fn set_disabled_text_color(&self, value: Color)
pub fn get_drop_indicator_color(&self) -> Color
pub fn set_drop_indicator_color(&self, value: Color)
pub fn get_expanded_branch_indicator(&self) -> SharedString
pub fn set_expanded_branch_indicator(&self, value: SharedString)
pub fn get_highlight_color(&self) -> Color
pub fn set_highlight_color(&self, value: Color)
pub fn get_highlighted_text_color(&self) -> Color
pub fn set_highlighted_text_color(&self, value: Color)
pub fn get_horizontal_padding(&self) -> Coord
pub fn set_horizontal_padding(&self, value: Coord)
pub fn get_hover_color(&self) -> Color
pub fn set_hover_color(&self, value: Color)
pub fn get_inactive_highlight_color(&self) -> Color
pub fn set_inactive_highlight_color(&self, value: Color)
pub fn get_inactive_highlighted_text_color(&self) -> Color
pub fn set_inactive_highlighted_text_color(&self, value: Color)
pub fn get_indentation(&self) -> Coord
pub fn set_indentation(&self, value: Coord)
pub fn get_row_height(&self) -> Coord
pub fn set_row_height(&self, value: Coord)
pub fn get_text_color(&self) -> Color
pub fn set_text_color(&self, value: Color)
Trait Implementations§
Source§impl<'a> Global<'a, TreeView> for TreeViewStyle<'a>
impl<'a> Global<'a, TreeView> for TreeViewStyle<'a>
Source§type StaticSelf = TreeViewStyle<'static>
type StaticSelf = TreeViewStyle<'static>
The
Self type, with a 'static lifetime.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> 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