pub enum MixedHandleType<Driver, Zircon> {
Driver(Driver),
Zircon(Zircon),
}
Expand description
An enum of the two types of handles that can be represented in a MixedHandle
.
Variants§
Trait Implementations§
Source§impl From<MixedHandle> for MixedHandleType<DriverHandle, ZirconHandle>
impl From<MixedHandle> for MixedHandleType<DriverHandle, ZirconHandle>
Source§fn from(value: MixedHandle) -> Self
fn from(value: MixedHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Driver, Zircon> Freeze for MixedHandleType<Driver, Zircon>
impl<Driver, Zircon> RefUnwindSafe for MixedHandleType<Driver, Zircon>where
Driver: RefUnwindSafe,
Zircon: RefUnwindSafe,
impl<Driver, Zircon> Send for MixedHandleType<Driver, Zircon>
impl<Driver, Zircon> Sync for MixedHandleType<Driver, Zircon>
impl<Driver, Zircon> Unpin for MixedHandleType<Driver, Zircon>
impl<Driver, Zircon> UnwindSafe for MixedHandleType<Driver, Zircon>where
Driver: UnwindSafe,
Zircon: 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