[][src]Struct fastobo::ast::QuotedStr

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

A borrowed QuotedString.

Methods

impl QuotedStr[src]

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

Create a new QuotedStr.

Trait Implementations

impl<'a> Share<'a, &'a QuotedStr> for QuotedString[src]

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

impl AsRef<QuotedStr> for QuotedString[src]

impl AsRef<str> for QuotedStr[src]

impl AsRef<QuotedStr> for QuotedStr[src]

impl Ord for QuotedStr[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 QuotedStr[src]

impl PartialOrd<QuotedStr> for QuotedStr[src]

impl ToOwned for QuotedStr[src]

type Owned = QuotedString

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

impl PartialEq<str> for QuotedStr[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<String> for QuotedStr[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Deref for QuotedStr[src]

type Target = str

The resulting type after dereferencing.

impl Debug for QuotedStr[src]

impl<'a> Display for QuotedStr[src]

impl Hash for QuotedStr[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<QuotedStr> for QuotedString[src]

impl OpaqueTypedefUnsized for QuotedStr[src]

type Inner = str

Inner type.

type Error = Infallible

Validation error type.

Auto Trait Implementations

impl Send for QuotedStr

impl Sync for QuotedStr

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]