[][src]Trait i2cbus_api::ContextWrapperExt

pub trait ContextWrapperExt<'a, C> where
    Self: Sized
{ fn with_context(&'a self, context: C) -> ContextWrapper<'a, Self, C>; }

Trait to extend an API to make it easy to bind it to a context.

Required methods

fn with_context(&'a self, context: C) -> ContextWrapper<'a, Self, C>

Binds this API to a context.

Loading content...

Implementors

impl<'a, T: Api<C> + Sized, C> ContextWrapperExt<'a, C> for T[src]

Loading content...