[][src]Struct iref::Scheme

pub struct Scheme<'a> { /* fields omitted */ }

Implementations

impl<'a> Scheme<'a>[src]

pub fn as_ref(&self) -> &[u8][src]

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

Get the underlying scheme slice as a string slice.

pub fn is_empty(&self) -> bool[src]

Checks if the scheme is empty.

Trait Implementations

impl<'a> Clone for Scheme<'a>[src]

impl<'a> Copy for Scheme<'a>[src]

impl<'a> Debug for Scheme<'a>[src]

impl<'a> Display for Scheme<'a>[src]

impl<'a> Eq for Scheme<'a>[src]

impl<'a> Hash for Scheme<'a>[src]

impl<'a> Ord for Scheme<'a>[src]

impl<'a> PartialEq<&'a str> for Scheme<'a>[src]

impl<'a> PartialEq<Scheme<'a>> for Scheme<'a>[src]

impl<'a> PartialOrd<Scheme<'a>> for Scheme<'a>[src]

impl<'a> TryFrom<&'a str> for Scheme<'a>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Scheme<'a>

impl<'a> Send for Scheme<'a>

impl<'a> Sync for Scheme<'a>

impl<'a> Unpin for Scheme<'a>

impl<'a> UnwindSafe for Scheme<'a>

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.