pub struct OldOutputPin<T> { /* private fields */ }
Expand description
Wrapper to allow fallible v2::OutputPin
traits to be converted to v1::OutputPin
traits
Implementations§
Trait Implementations§
source§impl<T, E> From<T> for OldOutputPin<T>
impl<T, E> From<T> for OldOutputPin<T>
source§impl<T, E> OutputPin for OldOutputPin<T>
impl<T, E> OutputPin for OldOutputPin<T>
Implementation of v1::OutputPin
trait for fallible v2::OutputPin
output pins
where errors will panic.
Auto Trait Implementations§
impl<T> Freeze for OldOutputPin<T>where
T: Freeze,
impl<T> RefUnwindSafe for OldOutputPin<T>where
T: RefUnwindSafe,
impl<T> Send for OldOutputPin<T>where
T: Send,
impl<T> Sync for OldOutputPin<T>where
T: Sync,
impl<T> Unpin for OldOutputPin<T>where
T: Unpin,
impl<T> UnwindSafe for OldOutputPin<T>where
T: UnwindSafe,
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