pub enum EditFormat {
Turtle,
Obo,
RdfXml,
OwlXml,
}Variants§
Turtle
Obo
RdfXml
RDF/XML (.owl / .rdf) — full-document Horned re-serialize.
OwlXml
OWL/XML (.owx) — full-document Horned re-serialize.
Implementations§
Source§impl EditFormat
impl EditFormat
pub fn from_ontology_format(format: OntologyFormat) -> Result<Self>
pub fn from_path(path: &Path) -> Result<Self>
pub fn to_ontology_format(self) -> OntologyFormat
Trait Implementations§
Source§impl Clone for EditFormat
impl Clone for EditFormat
Source§fn clone(&self) -> EditFormat
fn clone(&self) -> EditFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EditFormat
Source§impl Debug for EditFormat
impl Debug for EditFormat
impl Eq for EditFormat
Source§impl PartialEq for EditFormat
impl PartialEq for EditFormat
impl StructuralPartialEq for EditFormat
Auto Trait Implementations§
impl Freeze for EditFormat
impl RefUnwindSafe for EditFormat
impl Send for EditFormat
impl Sync for EditFormat
impl Unpin for EditFormat
impl UnsafeUnpin for EditFormat
impl UnwindSafe for EditFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.