[−][src]Struct fastobo::ast::UnprefixedId
A borrowed UnprefixedIdentifier
.
Methods
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<'a> Share<'a, &'a UnprefixedId> for UnprefixedIdent
[src]
fn share(&'a self) -> &'a UnprefixedId
[src]
impl<'a> Redeem<'a> for &'a UnprefixedId
[src]
type Owned = UnprefixedIdent
fn redeem(&'a self) -> UnprefixedIdent
[src]
impl<'a> From<&'a UnprefixedId> for Id<'a>
[src]
fn from(id: &'a UnprefixedId) -> Self
[src]
impl PartialEq<UnprefixedId> for UnprefixedId
[src]
fn eq(&self, other: &UnprefixedId) -> bool
[src]
fn ne(&self, other: &UnprefixedId) -> bool
[src]
impl AsRef<UnprefixedId> for UnprefixedIdent
[src]
fn as_ref(&self) -> &UnprefixedId
[src]
impl AsRef<str> for UnprefixedId
[src]
impl ToOwned for UnprefixedId
[src]
type Owned = UnprefixedIdent
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl PartialOrd<UnprefixedId> for UnprefixedId
[src]
fn partial_cmp(&self, other: &UnprefixedId) -> Option<Ordering>
[src]
fn lt(&self, other: &UnprefixedId) -> bool
[src]
fn le(&self, other: &UnprefixedId) -> bool
[src]
fn gt(&self, other: &UnprefixedId) -> bool
[src]
fn ge(&self, other: &UnprefixedId) -> bool
[src]
impl Eq for UnprefixedId
[src]
impl Ord for UnprefixedId
[src]
fn cmp(&self, other: &UnprefixedId) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
🔬 This is a nightly-only experimental API. (
clamp
)Restrict a value to a certain interval. Read more
impl Display for UnprefixedId
[src]
impl Debug for UnprefixedId
[src]
impl Hash for UnprefixedId
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Borrow<UnprefixedId> for UnprefixedIdent
[src]
fn borrow(&self) -> &UnprefixedId
[src]
impl OpaqueTypedefUnsized for UnprefixedId
[src]
type Inner = str
Inner type.
type Error = Infallible
Validation error type.
unsafe fn from_inner_unchecked(__inner: &Self::Inner) -> &Self
[src]
unsafe fn from_inner_unchecked_mut(__inner: &mut Self::Inner) -> &mut Self
[src]
fn try_from_inner(__inner: &Self::Inner) -> Result<&Self, Self::Error>
[src]
fn from_inner(__inner: &Self::Inner) -> &Self
[src]
fn try_from_inner_mut(
__inner: &mut Self::Inner
) -> Result<&mut Self, Self::Error>
[src]
__inner: &mut Self::Inner
) -> Result<&mut Self, Self::Error>
fn from_inner_mut(__inner: &mut Self::Inner) -> &mut Self
[src]
fn as_inner(&self) -> &Self::Inner
[src]
unsafe fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
Auto Trait Implementations
impl Unpin for UnprefixedId
impl Sync for UnprefixedId
impl Send for UnprefixedId
impl RefUnwindSafe for UnprefixedId
impl UnwindSafe for UnprefixedId
Blanket Implementations
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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,