pub struct Bullet {
pub number: Option<u64>,
pub index: usize,
pub depth: usize,
}Expand description
What a list item’s bullet stands for, given to bullet and to a widget’s bullet hook.
Fields§
§number: Option<u64>The item’s number in an ordered list, counted from the list’s start; None in a
bulleted list.
index: usizeThe item’s position in its list, from 0.
depth: usizeHow many lists enclose the item’s list: 0 for a list at the top.
Trait Implementations§
impl Copy for Bullet
impl Eq for Bullet
impl StructuralPartialEq for Bullet
Auto Trait Implementations§
impl Forget for Bullet
impl Freeze for Bullet
impl Move for Bullet
impl RefUnwindSafe for Bullet
impl Send for Bullet
impl Sync for Bullet
impl Unpin for Bullet
impl UnsafeUnpin for Bullet
impl UnwindSafe for Bullet
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.