[][src]Struct fastobo::ast::UnprefixedId

#[repr(transparent)]pub struct UnprefixedId(_);

A borrowed UnprefixedIdentifier.

Implementations

impl UnprefixedId[src]

pub fn new(s: &str) -> &Self[src]

Create a new UnprefixedId.

pub fn as_str(&self) -> &str[src]

Return a reference to the underlying string slice.

Trait Implementations

impl AsRef<UnprefixedId> for UnprefixedIdent[src]

impl AsRef<str> for UnprefixedId[src]

impl Borrow<UnprefixedId> for UnprefixedIdent[src]

impl Debug for UnprefixedId[src]

impl Display for UnprefixedId[src]

impl Eq for UnprefixedId[src]

impl<'a> From<&'a UnprefixedId> for Id<'a>[src]

impl Hash for UnprefixedId[src]

impl OpaqueTypedefUnsized for UnprefixedId[src]

type Inner = str

Inner type.

type Error = Infallible

Validation error type.

impl Ord for UnprefixedId[src]

impl PartialEq<UnprefixedId> for UnprefixedId[src]

impl PartialOrd<UnprefixedId> for UnprefixedId[src]

impl<'a> Redeem<'a> for &'a UnprefixedId[src]

impl<'a> Share<'a, &'a UnprefixedId> for UnprefixedIdent[src]

impl StructuralEq for UnprefixedId[src]

impl StructuralPartialEq for UnprefixedId[src]

impl ToOwned for UnprefixedId[src]

type Owned = UnprefixedIdent

The resulting type after obtaining ownership.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]