[][src]Struct fastobo::ast::UnquotedStr

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

A borrowed UnquotedString.

Methods

impl UnquotedStr[src]

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

Create a new QuotedStr.

Trait Implementations

impl<'a> Share<'a, &'a UnquotedStr> for UnquotedString[src]

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

impl AsRef<UnquotedStr> for UnquotedString[src]

impl AsRef<str> for UnquotedStr[src]

impl AsRef<UnquotedStr> for UnquotedStr[src]

impl Ord for UnquotedStr[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.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 Eq for UnquotedStr[src]

impl PartialOrd<UnquotedStr> for UnquotedStr[src]

impl ToOwned for UnquotedStr[src]

type Owned = UnquotedString

The resulting type after obtaining ownership.

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 PartialEq<UnquotedStr> for UnquotedStr[src]

impl Deref for UnquotedStr[src]

type Target = str

The resulting type after dereferencing.

impl Debug for UnquotedStr[src]

impl<'a> Display for UnquotedStr[src]

impl Hash for UnquotedStr[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Borrow<UnquotedStr> for UnquotedString[src]

impl OpaqueTypedefUnsized for UnquotedStr[src]

type Inner = str

Inner type.

type Error = Infallible

Validation error type.

Auto Trait Implementations

impl Send for UnquotedStr

impl Sync for UnquotedStr

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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