Enum vulkano::device::FeatureRestriction [−][src]
pub enum FeatureRestriction {
NotSupported,
RequiresFeature(&'static str),
ConflictsFeature(&'static str),
RequiredByExtension(&'static str),
}
Variants
NotSupported
Not supported by the physical device.
RequiresFeature(&'static str)
Tuple Fields
0: &'static str
Requires a feature to be enabled.
ConflictsFeature(&'static str)
Tuple Fields
0: &'static str
Requires a feature to be disabled.
RequiredByExtension(&'static str)
Tuple Fields
0: &'static str
An extension requires this feature to be enabled.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FeatureRestriction
impl Send for FeatureRestriction
impl Sync for FeatureRestriction
impl Unpin for FeatureRestriction
impl UnwindSafe for FeatureRestriction
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.