pub struct CheckListRowProps<'a> {
pub item: Option<&'a ChecklistItem>,
pub id_prefix_len: usize,
pub is_last: bool,
}Expand description
A single checklist-item row.
When id is Some, it is rendered in a fixed-width left column so
connectors follow the ID prefix.
M ├╴○ Confirm changelog
J └╴● Tag release commit (is_last)When id is None (no IDs), the connector starts at column 0:
├╴○ title
└╴● titleFields§
§item: Option<&'a ChecklistItem>§id_prefix_len: usize§is_last: boolTrait Implementations§
Source§impl<'a> Default for CheckListRowProps<'a>
impl<'a> Default for CheckListRowProps<'a>
Source§fn default() -> CheckListRowProps<'a>
fn default() -> CheckListRowProps<'a>
Returns the “default value” for a type. Read more
impl<'a> Props for CheckListRowProps<'a>
Auto Trait Implementations§
impl<'a> Freeze for CheckListRowProps<'a>
impl<'a> RefUnwindSafe for CheckListRowProps<'a>
impl<'a> Send for CheckListRowProps<'a>
impl<'a> Sync for CheckListRowProps<'a>
impl<'a> Unpin for CheckListRowProps<'a>
impl<'a> UnsafeUnpin for CheckListRowProps<'a>
impl<'a> UnwindSafe for CheckListRowProps<'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