Type Definition fastobo::ast::IdentType

source ·
pub type IdentType = Arc<str>;
Expand description

The inner string type used to store identifiers.

If fastobo is compiled with the threading feature enabled, then this type will be Arc<str>. Otherwise, plain Rc<str> is used.

Trait Implementations§

source§

impl From<IdentPrefix> for IdentType

source§

fn from(prefix: IdentPrefix) -> Self

Converts to this type from the input type.
source§

impl From<UnprefixedIdent> for IdentType

source§

fn from(id: UnprefixedIdent) -> Self

Converts to this type from the input type.