pub struct OrgDocument { /* private fields */ }Implementations§
Source§impl OrgDocument
impl OrgDocument
pub fn parse(bytes: Vec<u8>) -> Result<Self, DocumentParseError>
pub fn source(&self) -> &str
pub fn headlines(&self) -> &[IndexedHeadline]
pub fn text(&self, span: SourceSpan) -> &str
pub fn round_trips_exactly(&self) -> bool
Auto Trait Implementations§
impl Freeze for OrgDocument
impl RefUnwindSafe for OrgDocument
impl Send for OrgDocument
impl Sync for OrgDocument
impl Unpin for OrgDocument
impl UnsafeUnpin for OrgDocument
impl UnwindSafe for OrgDocument
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