[−][src]Enum fastobo::ast::Id
A borrowed Identifier
.
Variants
Prefixed(Cow<'a, PrefixedId<'a>>)
Unprefixed(Cow<'a, &'a UnprefixedId>)
Url(Cow<'a, &'a Url>)
Trait Implementations
impl<'i> FromPair<'i> for Id<'i>
[src]
const RULE: Rule
[src]
unsafe fn from_pair_unchecked(pair: Pair<'i, Rule>) -> Result<Self>
[src]
fn from_pair(pair: Pair<'i, Rule>) -> Result<Self, Error>
[src]
Create a new instance from a Pair
.
impl<'i> FromSlice<'i> for Id<'i>
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_slice(s: &'i str) -> Result<Self>
[src]
impl<'a> Share<'a, Id<'a>> for Ident
[src]
impl<'a> Redeem<'a> for Id<'a>
[src]
impl<'a> From<PrefixedId<'a>> for Id<'a>
[src]
fn from(id: PrefixedId<'a>) -> Self
[src]
impl<'a> From<&'a UnprefixedId> for Id<'a>
[src]
fn from(id: &'a UnprefixedId) -> Self
[src]
impl<'a> From<&'a Url> for Id<'a>
[src]
impl<'a> From<Id<'a>> for ClassId<'a>
[src]
impl<'a> From<ClassId<'a>> for Id<'a>
[src]
impl<'a> From<Id<'a>> for InstanceId<'a>
[src]
impl<'a> From<InstanceId<'a>> for Id<'a>
[src]
fn from(id: InstanceId<'a>) -> Self
[src]
impl<'a> From<Id<'a>> for NamespaceId<'a>
[src]
impl<'a> From<NamespaceId<'a>> for Id<'a>
[src]
fn from(id: NamespaceId<'a>) -> Self
[src]
impl<'a> From<Id<'a>> for RelationId<'a>
[src]
impl<'a> From<RelationId<'a>> for Id<'a>
[src]
fn from(id: RelationId<'a>) -> Self
[src]
impl<'a> From<Id<'a>> for SubsetId<'a>
[src]
impl<'a> From<SubsetId<'a>> for Id<'a>
[src]
impl<'a> From<Id<'a>> for SynonymTypeId<'a>
[src]
impl<'a> From<SynonymTypeId<'a>> for Id<'a>
[src]
fn from(id: SynonymTypeId<'a>) -> Self
[src]
impl<'a> Display for Id<'a>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,