Struct notedown_rt::document::NoteDocument
source · [−]pub struct NoteDocument { /* private fields */ }Implementations
sourceimpl NoteDocument
impl NoteDocument
Methods about [DocumentDate]
pub fn get_date(&self) -> &DocumentTime
pub fn set_date(&mut self, date: DocumentTime)
sourceimpl NoteDocument
impl NoteDocument
sourceimpl NoteDocument
impl NoteDocument
sourceimpl NoteDocument
impl NoteDocument
pub fn set_value_raw(&mut self, pair: LiteralPair) -> Option<LiteralPair>
pub fn set_value(&mut self, name: String, value: Value) -> Option<Value>
pub fn get_text(&self) -> String
pub fn get_text_index(&self) -> &TextIndex
pub fn get_ast(&self) -> &ASTNode
pub fn extend_error_one(&mut self, e: NoteError)
pub fn extend_error_iter(&mut self, e: impl Iterator<Item = NoteError>)
pub fn can_gc(&self) -> bool
sourceimpl NoteDocument
impl NoteDocument
pub async fn update_text(&mut self) -> Result<()>
pub async fn update_document(&mut self, parse: &Parser) -> Result<()>
Trait Implementations
sourceimpl Debug for NoteDocument
impl Debug for NoteDocument
sourceimpl PartialEq<NoteDocument> for NoteDocument
impl PartialEq<NoteDocument> for NoteDocument
Auto Trait Implementations
impl !RefUnwindSafe for NoteDocument
impl Send for NoteDocument
impl Sync for NoteDocument
impl Unpin for NoteDocument
impl !UnwindSafe for NoteDocument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more