[][src]Enum surfman::platform::generic::multi::device::NativeDevice

pub enum NativeDevice<Def, Alt> where
    Def: DeviceInterface,
    Alt: DeviceInterface
{ Default(<Def::Connection as ConnectionInterface>::NativeDevice), Alternate(<Alt::Connection as ConnectionInterface>::NativeDevice), }

Represents a native platform-specific device.

Variants

The default native device type.

The alternate native device type.

Auto Trait Implementations

impl<Def, Alt> RefUnwindSafe for NativeDevice<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeDevice: RefUnwindSafe,
    <<Def as Device>::Connection as Connection>::NativeDevice: RefUnwindSafe

impl<Def, Alt> Send for NativeDevice<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeDevice: Send,
    <<Def as Device>::Connection as Connection>::NativeDevice: Send

impl<Def, Alt> Sync for NativeDevice<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeDevice: Sync,
    <<Def as Device>::Connection as Connection>::NativeDevice: Sync

impl<Def, Alt> Unpin for NativeDevice<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeDevice: Unpin,
    <<Def as Device>::Connection as Connection>::NativeDevice: Unpin

impl<Def, Alt> UnwindSafe for NativeDevice<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeDevice: UnwindSafe,
    <<Def as Device>::Connection as Connection>::NativeDevice: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.