[][src]Trait fastobo::ast::Identified

pub trait Identified {
    fn as_id(&self) -> &Ident;
fn as_id_mut(&mut self) -> &mut Ident; }

A trait for structs that have an identifier.

Required methods

fn as_id(&self) -> &Ident

Get a reference to the identifier of the entity.

fn as_id_mut(&mut self) -> &mut Ident

Get a mutable reference to the identifier of the entity.

Loading content...

Implementors

impl Identified for EntityFrame[src]

impl Identified for InstanceFrame[src]

fn as_id(&self) -> &Ident[src]

Get a reference to the identifier of the term.

fn as_id_mut(&mut self) -> &mut Ident[src]

Get a mutable reference to the identifier of the term.

impl Identified for Qualifier[src]

impl Identified for TermFrame[src]

fn as_id(&self) -> &Ident[src]

Get a reference to the identifier of the term.

fn as_id_mut(&mut self) -> &mut Ident[src]

Get a mutable reference to the identifier of the term.

impl Identified for TypedefFrame[src]

fn as_id(&self) -> &Ident[src]

Get a reference to the identifier of the term.

fn as_id_mut(&mut self) -> &mut Ident[src]

Get a mutable reference to the identifier of the term.

impl Identified for Xref[src]

Loading content...