[][src]Trait fastobo::ast::Orderable

pub trait Orderable {
    fn sort(&mut self);
fn is_sorted(&self) -> bool; }

A trait for structs that can be sorted in an order specified in the OBO spec.

Required methods

fn sort(&mut self)

Sort the elements of the collection in the right serialization order.

See Also

fn is_sorted(&self) -> bool

Check if the collection is sorted in the right serialization order.

Loading content...

Implementors

impl Orderable for EntityFrame[src]

impl Orderable for InstanceFrame[src]

impl Orderable for OboDoc[src]

fn sort(&mut self)[src]

Sort the document in the right serialization order.

fn is_sorted(&self) -> bool[src]

Check if the document is sorted in the right serialization order.

impl Orderable for QualifierList[src]

impl Orderable for TermFrame[src]

impl Orderable for TypedefFrame[src]

impl Orderable for XrefList[src]

Loading content...