pub struct Note {
pub tokens: Vec<String>,
pub runs: Vec<Run>,
}Expand description
A parsed note body: the skip tokens, and the runs recorded against this key.
THE reader and THE writer of the format, so that the three callers that
rewrite a note cannot each drop a half of it they were not thinking
about. stamp_push merging tokens used to render the note from its own
token list alone, which — once runs existed — would have erased every one
of them on the next push.
Fields§
§tokens: Vec<String>§runs: Vec<Run>Implementations§
Trait Implementations§
impl Eq for Note
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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