pub struct LibraryEntry {
pub title: String,
pub subtitle: String,
pub active: bool,
}Expand description
One row of the list, as display data: the widget never reads a registry.
Fields§
§title: StringThe bold part of the row: a view’s name, a template’s id.
subtitle: StringThe dimmed tail: scope, defaults count, active.
active: boolWhether this record is the board’s live view (Views tab only).
Trait Implementations§
Source§impl Clone for LibraryEntry
impl Clone for LibraryEntry
Source§impl Debug for LibraryEntry
impl Debug for LibraryEntry
impl Eq for LibraryEntry
Source§impl PartialEq for LibraryEntry
impl PartialEq for LibraryEntry
impl StructuralPartialEq for LibraryEntry
Auto Trait Implementations§
impl Freeze for LibraryEntry
impl RefUnwindSafe for LibraryEntry
impl Send for LibraryEntry
impl Sync for LibraryEntry
impl Unpin for LibraryEntry
impl UnsafeUnpin for LibraryEntry
impl UnwindSafe for LibraryEntry
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