ToSelfContained

Trait ToSelfContained 

Source
pub trait ToSelfContained {
    type SelfContained: 'static;

    // Required method
    fn to_self_contained(&self) -> Self::SelfContained;
}

Required Associated Types§

Source

type SelfContained: 'static

Required Methods§

Implementations on Foreign Types§

Source§

impl<A: ToSelfContained, B: ToSelfContained> ToSelfContained for (A, B)

Source§

impl<T: ToSelfContained> ToSelfContained for Option<T>

Implementors§