InnerAccess

Trait InnerAccess 

Source
pub trait InnerAccess {
    type Inner;

    // Required methods
    fn inner_ref(&self) -> &Self::Inner;
    fn inner_mut(&mut self) -> &mut Self::Inner;
    fn into_inner(self) -> Self::Inner;
}
Expand description

A generic trait, useful for chipset implementations based on other underlying implementations.

Required Associated Types§

Required Methods§

Source

fn inner_ref(&self) -> &Self::Inner

Returns a reference to the inner chipset.

Source

fn inner_mut(&mut self) -> &mut Self::Inner

Returns a mutable reference to the inner chipset.

Source

fn into_inner(self) -> Self::Inner

Destructs self and returns the inner chipset.

Implementors§