pub struct TreeRow {
pub entry_id: String,
pub prefix: String,
pub folded: bool,
pub on_active_path: bool,
pub label: Option<String>,
pub label_timestamp: Option<String>,
pub text: DisplayText,
pub is_leaf: bool,
}Expand description
One visible row.
Fields§
§entry_id: StringEntry id.
prefix: StringGutter/connector prefix (│ ├⊟ …).
folded: boolThe node is folded.
on_active_path: boolOn the root → leaf path.
label: Option<String>Label.
label_timestamp: Option<String>Label timestamp (shown when enabled).
text: DisplayTextDisplay text.
is_leaf: boolThis is the current leaf.
Trait Implementations§
impl Eq for TreeRow
impl StructuralPartialEq for TreeRow
Auto Trait Implementations§
impl Freeze for TreeRow
impl RefUnwindSafe for TreeRow
impl Send for TreeRow
impl Sync for TreeRow
impl Unpin for TreeRow
impl UnsafeUnpin for TreeRow
impl UnwindSafe for TreeRow
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§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.