Enum onenote_parser::contents::OutlineItem
source · pub enum OutlineItem {
Group(OutlineGroup),
Element(OutlineElement),
}
Expand description
An entry in an outline list.
Variants
Group(OutlineGroup)
Element(OutlineElement)
Implementations
sourceimpl OutlineItem
impl OutlineItem
sourcepub fn element(&self) -> Option<&OutlineElement>
pub fn element(&self) -> Option<&OutlineElement>
Return the outline element if the item is an element.
Trait Implementations
sourceimpl Clone for OutlineItem
impl Clone for OutlineItem
sourcefn clone(&self) -> OutlineItem
fn clone(&self) -> OutlineItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for OutlineItem
impl Send for OutlineItem
impl Sync for OutlineItem
impl Unpin for OutlineItem
impl UnwindSafe for OutlineItem
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