Enum surfman::platform::generic::multi::context::ContextDescriptor [−][src]
pub enum ContextDescriptor<Def, Alt> where
Def: DeviceInterface,
Alt: DeviceInterface, { Default(Def::ContextDescriptor), Alternate(Alt::ContextDescriptor), }
Expand description
Information needed to create a context. Some APIs call this a “config” or a “pixel format”.
These are local to a device.
Variants
Default(Def::ContextDescriptor)
The default context descriptor type.
Alternate(Alt::ContextDescriptor)
The alternate context descriptor type.
Trait Implementations
impl<Def: Clone, Alt: Clone> Clone for ContextDescriptor<Def, Alt> where
Def: DeviceInterface,
Alt: DeviceInterface,
Def::ContextDescriptor: Clone,
Alt::ContextDescriptor: Clone,
[src]
impl<Def: Clone, Alt: Clone> Clone for ContextDescriptor<Def, Alt> where
Def: DeviceInterface,
Alt: DeviceInterface,
Def::ContextDescriptor: Clone,
Alt::ContextDescriptor: Clone,
[src]Auto Trait Implementations
impl<Def, Alt> RefUnwindSafe for ContextDescriptor<Def, Alt> where
<Alt as Device>::ContextDescriptor: RefUnwindSafe,
<Def as Device>::ContextDescriptor: RefUnwindSafe,
impl<Def, Alt> Send for ContextDescriptor<Def, Alt> where
<Alt as Device>::ContextDescriptor: Send,
<Def as Device>::ContextDescriptor: Send,
impl<Def, Alt> Sync for ContextDescriptor<Def, Alt> where
<Alt as Device>::ContextDescriptor: Sync,
<Def as Device>::ContextDescriptor: Sync,
impl<Def, Alt> Unpin for ContextDescriptor<Def, Alt> where
<Alt as Device>::ContextDescriptor: Unpin,
<Def as Device>::ContextDescriptor: Unpin,
impl<Def, Alt> UnwindSafe for ContextDescriptor<Def, Alt> where
<Alt as Device>::ContextDescriptor: UnwindSafe,
<Def as Device>::ContextDescriptor: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more