[][src]Struct langtag::Singleton

pub struct Singleton(_);

Extension identifier.

Implementations

impl Singleton[src]

pub fn unwrap(self) -> u8[src]

Convert into the underlying byte.

Trait Implementations

impl Clone for Singleton[src]

impl Copy for Singleton[src]

impl Debug for Singleton[src]

impl Display for Singleton[src]

impl Eq for Singleton[src]

impl Hash for Singleton[src]

impl Ord for Singleton[src]

impl PartialEq<Singleton> for Singleton[src]

impl PartialEq<char> for Singleton[src]

impl PartialEq<u8> for Singleton[src]

impl PartialOrd<Singleton> for Singleton[src]

impl StructuralEq for Singleton[src]

impl StructuralPartialEq for Singleton[src]

impl TryFrom<char> for Singleton[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u8> for Singleton[src]

type Error = Error

The type returned in the event of a conversion error.

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> 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.