[−][src]Struct emu_core::pool::DevicePoolMember
Represents a member of the device pool
This holds both a mutex to a Device
and information about the device. You must create instances of DevicePoolMember
to construct your own custom device pool using
pool
.
Fields
device: Mutex<Device>
device_info: Option<DeviceInfo>
Trait Implementations
impl From<(Mutex<Device>, Option<DeviceInfo>)> for DevicePoolMember
[src]
fn from(original: (Mutex<Device>, Option<DeviceInfo>)) -> DevicePoolMember
[src]
impl From<DevicePoolMember> for (Mutex<Device>, Option<DeviceInfo>)
[src]
fn from(original: DevicePoolMember) -> (Mutex<Device>, Option<DeviceInfo>)
[src]
Auto Trait Implementations
impl RefUnwindSafe for DevicePoolMember
impl Send for DevicePoolMember
impl Sync for DevicePoolMember
impl Unpin for DevicePoolMember
impl UnwindSafe for DevicePoolMember
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> AsDeviceBoxed<T> for U where
T: AsBytes + ?Sized,
U: Borrow<T>,
[src]
T: AsBytes + ?Sized,
U: Borrow<T>,
fn as_device_boxed(&Self) -> Result<DeviceBox<T>, NoDeviceError>
[src]
fn as_device_boxed_mut(&Self) -> Result<DeviceBox<T>, NoDeviceError>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,