pub struct TreeListViewStyle<'a> {Show 17 fields
pub title: Option<Line<'a>>,
pub block_style: Style,
pub border_style: Style,
pub highlight_style: Style,
pub column_highlight_style: Style,
pub cell_highlight_style: Style,
pub marked_style: Style,
pub partial_mark_style: Style,
pub direct_match_style: Style,
pub ancestor_match_style: Style,
pub line_style: Style,
pub highlight_symbol: &'a str,
pub borders: Borders,
pub column_spacing: u16,
pub row_rendering: TreeRowRendering,
pub horizontal_scroll: TreeHorizontalScroll,
pub scroll_policy: TreeScrollPolicy,
}Expand description
Visual tree configuration.
Fields§
§title: Option<Line<'a>>§block_style: Style§border_style: Style§highlight_style: Style§column_highlight_style: Style§cell_highlight_style: Style§marked_style: Style§partial_mark_style: Style§direct_match_style: Style§ancestor_match_style: Style§line_style: Style§highlight_symbol: &'a str§borders: Borders§column_spacing: u16§row_rendering: TreeRowRendering§horizontal_scroll: TreeHorizontalScroll§scroll_policy: TreeScrollPolicyImplementations§
Source§impl TreeListViewStyle<'_>
impl TreeListViewStyle<'_>
Sourcepub fn borderless() -> Self
pub fn borderless() -> Self
Creates a style without an outer border.
Trait Implementations§
Source§impl<'a> Clone for TreeListViewStyle<'a>
impl<'a> Clone for TreeListViewStyle<'a>
Source§fn clone(&self) -> TreeListViewStyle<'a>
fn clone(&self) -> TreeListViewStyle<'a>
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<'a> Debug for TreeListViewStyle<'a>
impl<'a> Debug for TreeListViewStyle<'a>
Source§impl Default for TreeListViewStyle<'_>
impl Default for TreeListViewStyle<'_>
impl<'a> Eq for TreeListViewStyle<'a>
Source§impl<'a> PartialEq for TreeListViewStyle<'a>
impl<'a> PartialEq for TreeListViewStyle<'a>
impl<'a> StructuralPartialEq for TreeListViewStyle<'a>
Auto Trait Implementations§
impl<'a> Freeze for TreeListViewStyle<'a>
impl<'a> RefUnwindSafe for TreeListViewStyle<'a>
impl<'a> Send for TreeListViewStyle<'a>
impl<'a> Sync for TreeListViewStyle<'a>
impl<'a> Unpin for TreeListViewStyle<'a>
impl<'a> UnsafeUnpin for TreeListViewStyle<'a>
impl<'a> UnwindSafe for TreeListViewStyle<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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