pub struct TreeNote {
pub offset: usize,
pub text: String,
}Expand description
A note call inside a text item (TreeItem::notes).
Fields§
§offset: usizeThe call’s position, in chars into the item’s text.
text: StringThe note’s plain text.
Trait Implementations§
impl Eq for TreeNote
impl StructuralPartialEq for TreeNote
Auto Trait Implementations§
impl Freeze for TreeNote
impl RefUnwindSafe for TreeNote
impl Send for TreeNote
impl Sync for TreeNote
impl Unpin for TreeNote
impl UnsafeUnpin for TreeNote
impl UnwindSafe for TreeNote
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.