Enum vulkano::device::ExtensionRestriction
source · pub enum ExtensionRestriction {
NotSupported,
RequiredIfSupported,
Requires(RequiresOneOf),
ConflictsDeviceExtension(&'static str),
}
Variants§
NotSupported
Not supported by the loader or physical device.
RequiredIfSupported
Required to be enabled by the physical device.
Requires(RequiresOneOf)
Requires one of the following.
ConflictsDeviceExtension(&'static str)
Requires a device extension to be disabled.
Trait Implementations§
source§impl Clone for ExtensionRestriction
impl Clone for ExtensionRestriction
source§fn clone(&self) -> ExtensionRestriction
fn clone(&self) -> ExtensionRestriction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more