[][src]Enum trait_bound_pretty::Bound

pub enum Bound<'a> {
    Lifetime(&'a str),
    Item(Item<'a>),
    Reference {
        lifetime: &'a str,
        mut_: bool,
        item: Item<'a>,
    },
    Tuple(Vec<Bound<'a>>),
}

Variants

Lifetime(&'a str)
Item(Item<'a>)
Reference

Fields of Reference

lifetime: &'a strmut_: boolitem: Item<'a>
Tuple(Vec<Bound<'a>>)

Trait Implementations

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Bound<'a>

impl<'a> Send for Bound<'a>

impl<'a> Sync for Bound<'a>

impl<'a> Unpin for Bound<'a>

impl<'a> UnwindSafe for Bound<'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, 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.