pub struct DocHolder { /* private fields */ }
Expand description
Doc holder
Implementations
sourceimpl DocHolder
impl DocHolder
pub fn render(&self, options: &RenderOptions) -> String
pub fn render_text(&self, options: &RenderOptions) -> String
pub fn borrow(&self) -> Ref<'_, Doc>
pub fn get_root_node(&self) -> RefNode
pub fn get_element_by_id(&self, id: &str) -> Option<RefNode>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DocHolder
impl !Send for DocHolder
impl !Sync for DocHolder
impl Unpin for DocHolder
impl !UnwindSafe for DocHolder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more