pub struct Passthrough {}Trait Implementations§
Source§impl PitPluginPlugin for Passthrough
impl PitPluginPlugin for Passthrough
fn choose_type( &self, opts: &Opts<Module<'static>>, ) -> Result<Option<TokenStream>>
fn emit_method( &self, opts: &Opts<Module<'static>>, idx: usize, i: &Interface, s: &str, value: TokenStream, params: &[TokenStream], ) -> Result<TokenStream>
fn post( &self, parent: &PitPlugin, idx: usize, opts: &Opts<Module<'static>>, ) -> Result<TokenStream>
fn pre(&self, pit: &PitPlugin, module: &mut Opts<Module<'static>>) -> Result<()>
fn emit_drop( &self, opts: &Opts<Module<'static>>, idx: usize, value: TokenStream, ) -> Result<TokenStream>
Auto Trait Implementations§
impl Freeze for Passthrough
impl RefUnwindSafe for Passthrough
impl Send for Passthrough
impl Sync for Passthrough
impl Unpin for Passthrough
impl UnwindSafe for Passthrough
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more