SpecificPin

Type Alias SpecificPin 

Source
pub type SpecificPin<P> = Pin<<P as AnyPin>::Id, <P as AnyPin>::Mode>;
Expand description

Type alias to recover the specific Pin type from an implementation of AnyPin

See the AnyKind documentation for more details on the pattern.

Aliased Type§

pub struct SpecificPin<P> { /* private fields */ }

Trait Implementations§

Source§

impl<P: AnyPin> AsMut<P> for SpecificPin<P>

Source§

fn as_mut(&mut self) -> &mut P

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl<P: AnyPin> AsRef<P> for SpecificPin<P>

Source§

fn as_ref(&self) -> &P

Converts this type into a shared reference of the (usually inferred) input type.