pub trait WithContext {
    // Required methods
    fn with<C>(&self, context: C) -> Contextual<&Self, C>;
    fn into_with<C>(self, context: C) -> Contextual<Self, C>
       where Self: Sized;
}

Required Methods§

source

fn with<C>(&self, context: C) -> Contextual<&Self, C>

source

fn into_with<C>(self, context: C) -> Contextual<Self, C>where Self: Sized,

Implementors§

source§

impl<T: ?Sized> WithContext for T