[−][src]Struct fastobo::visit::IdDecompactor
A visitor that will decompact identifiers in an OBO document.
Usage
The decompactor will follow the rules from the OBO specification:
- if the document declares an IDSpace prefix
p
that maps to an Urlu
, Prefixed identifiers{p}:{id}
will be replaced by URLs identifiers{u}{id}
. - if the document does not declare an IDSpace
p'
, Prefixed identifiers{p}:{id}
with be replaced by URLs identifiershttp://purl.obolibrary.org/obo/{p'}_{id}
.
See also
- IdCompactor that does the opposite.
Methods
impl IdDecompactor
[src]
Trait Implementations
impl VisitMut for IdDecompactor
[src]
fn visit_header_frame(&mut self, header: &mut HeaderFrame)
[src]
fn visit_ident(&mut self, id: &mut Ident)
[src]
fn visit_class_ident(&mut self, id: &mut ClassIdent)
[src]
fn visit_doc(&mut self, doc: &mut OboDoc)
[src]
fn visit_entity_frame(&mut self, frame: &mut EntityFrame)
[src]
fn visit_header_clause(&mut self, clause: &mut HeaderClause)
[src]
fn visit_ident_local(&mut self, prefix: &mut IdentLocal)
[src]
fn visit_ident_prefix(&mut self, prefix: &mut IdentPrefix)
[src]
fn visit_import(&mut self, import: &mut Import)
[src]
fn visit_instance_clause(&mut self, clause: &mut InstanceClause)
[src]
fn visit_instance_frame(&mut self, frame: &mut InstanceFrame)
[src]
fn visit_instance_ident(&mut self, id: &mut InstanceIdent)
[src]
fn visit_iso_date(&mut self, date: &mut IsoDateTime)
[src]
fn visit_naive_date(&mut self, date: &mut NaiveDateTime)
[src]
fn visit_namespace_ident(&mut self, id: &mut NamespaceIdent)
[src]
fn visit_property_value(&mut self, pv: &mut PropertyValue)
[src]
fn visit_prefixed_ident(&mut self, id: &mut PrefixedIdent)
[src]
fn visit_quoted_string(&mut self, string: &mut QuotedString)
[src]
fn visit_relation_ident(&mut self, id: &mut RelationIdent)
[src]
fn visit_subset_ident(&mut self, id: &mut SubsetIdent)
[src]
fn visit_synonym(&mut self, syn: &mut Synonym)
[src]
fn visit_synonym_scope(&mut self, scope: &mut SynonymScope)
[src]
fn visit_synonymtype_ident(&mut self, id: &mut SynonymTypeIdent)
[src]
fn visit_term_clause(&mut self, clause: &mut TermClause)
[src]
fn visit_term_frame(&mut self, frame: &mut TermFrame)
[src]
fn visit_typedef_clause(&mut self, clause: &mut TypedefClause)
[src]
fn visit_typedef_frame(&mut self, frame: &mut TypedefFrame)
[src]
fn visit_unprefixed_ident(&mut self, string: &mut UnprefixedIdent)
[src]
fn visit_unquoted_string(&mut self, string: &mut UnquotedString)
[src]
fn visit_url(&mut self, url: &mut Url)
[src]
fn visit_xref(&mut self, xref: &mut Xref)
[src]
fn visit_xref_list(&mut self, xrefs: &mut XrefList)
[src]
impl Clone for IdDecompactor
[src]
fn clone(&self) -> IdDecompactor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for IdDecompactor
[src]
fn default() -> IdDecompactor
[src]
impl Debug for IdDecompactor
[src]
Auto Trait Implementations
impl Unpin for IdDecompactor
impl Sync for IdDecompactor
impl Send for IdDecompactor
impl RefUnwindSafe for IdDecompactor
impl UnwindSafe for IdDecompactor
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,