pub struct Note { /* private fields */ }Expand description
A multi-line note attached to a TaskPaper entry.
Internally stores lines as a Vec<String>. Supports conversion to/from
single-line format and whitespace compression.
Implementations§
Source§impl Note
impl Note
Sourcepub fn from_lines(lines: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn from_lines(lines: impl IntoIterator<Item = impl Into<String>>) -> Self
Create a note from a list of lines.
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