[][src]Trait document_tree::elements::Element

pub trait Element {
    fn ids(&self) -> &Vec<ID>;
fn ids_mut(&mut self) -> &mut Vec<ID>;
fn names(&self) -> &Vec<NameToken>;
fn names_mut(&mut self) -> &mut Vec<NameToken>;
fn source(&self) -> &Option<PathBuf>;
fn source_mut(&mut self) -> &mut Option<PathBuf>;
fn classes(&self) -> &Vec<String>;
fn classes_mut(&mut self) -> &mut Vec<String>; }

Required methods

fn ids(&self) -> &Vec<ID>

A list containing one or more unique identifier keys

fn ids_mut(&mut self) -> &mut Vec<ID>

fn names(&self) -> &Vec<NameToken>

a list containing the names of an element, typically originating from the element's title or content. Each name in names must be unique; if there are name conflicts (two or more elements want to the same name), the contents will be transferred to the dupnames attribute on the duplicate elements. An element may have at most one of the names or dupnames attributes, but not both.

fn names_mut(&mut self) -> &mut Vec<NameToken>

fn source(&self) -> &Option<PathBuf>

fn source_mut(&mut self) -> &mut Option<PathBuf>

fn classes(&self) -> &Vec<String>

fn classes_mut(&mut self) -> &mut Vec<String>

Loading content...

Implementors

impl Element for Abbreviation[src]

impl Element for Acronym[src]

impl Element for Address[src]

impl Element for Admonition[src]

impl Element for Attention[src]

impl Element for Attribution[src]

impl Element for Author[src]

impl Element for Authors[src]

impl Element for BlockQuote[src]

impl Element for BulletList[src]

impl Element for Caption[src]

impl Element for Caution[src]

impl Element for Citation[src]

impl Element for CitationReference[src]

impl Element for Classifier[src]

impl Element for Comment[src]

impl Element for Compound[src]

impl Element for Contact[src]

impl Element for Container[src]

impl Element for Copyright[src]

impl Element for Danger[src]

impl Element for Date[src]

impl Element for Decoration[src]

impl Element for Definition[src]

impl Element for DefinitionList[src]

impl Element for DefinitionListItem[src]

impl Element for Description[src]

impl Element for Docinfo[src]

impl Element for DoctestBlock[src]

impl Element for Emphasis[src]

impl Element for EnumeratedList[src]

impl Element for Error[src]

impl Element for Field[src]

impl Element for FieldBody[src]

impl Element for FieldList[src]

impl Element for FieldName[src]

impl Element for Figure[src]

impl Element for Footer[src]

impl Element for Footnote[src]

impl Element for FootnoteReference[src]

impl Element for Generated[src]

impl Element for Header[src]

impl Element for Hint[src]

impl Element for Image[src]

impl Element for ImageInline[src]

impl Element for Important[src]

impl Element for Inline[src]

impl Element for Label[src]

impl Element for Legend[src]

impl Element for Line[src]

impl Element for LineBlock[src]

impl Element for ListItem[src]

impl Element for Literal[src]

impl Element for LiteralBlock[src]

impl Element for Math[src]

impl Element for MathBlock[src]

impl Element for Note[src]

impl Element for OptionArgument[src]

impl Element for OptionGroup[src]

impl Element for OptionList[src]

impl Element for OptionListItem[src]

impl Element for OptionString[src]

impl Element for Option_[src]

impl Element for Organization[src]

impl Element for Paragraph[src]

impl Element for Pending[src]

impl Element for Problematic[src]

impl Element for Raw[src]

impl Element for RawInline[src]

impl Element for Reference[src]

impl Element for Revision[src]

impl Element for Rubric[src]

impl Element for Section[src]

impl Element for Sidebar[src]

impl Element for Status[src]

impl Element for Strong[src]

impl Element for Subscript[src]

impl Element for SubstitutionDefinition[src]

impl Element for SubstitutionReference[src]

impl Element for Subtitle[src]

impl Element for Superscript[src]

impl Element for SystemMessage[src]

impl Element for Table[src]

impl Element for TableBody[src]

impl Element for TableColspec[src]

impl Element for TableEntry[src]

impl Element for TableGroup[src]

impl Element for TableHead[src]

impl Element for TableRow[src]

impl Element for Target[src]

impl Element for TargetInline[src]

impl Element for Term[src]

impl Element for Tip[src]

impl Element for Title[src]

impl Element for TitleReference[src]

impl Element for Topic[src]

impl Element for Transition[src]

impl Element for Version[src]

impl Element for Warning[src]

Loading content...