Struct vulkano::device::FeatureRestrictionError [−][src]
pub struct FeatureRestrictionError {
pub feature: &'static str,
pub restriction: FeatureRestriction,
}
Expand description
An error that can happen when enabling a feature on a device.
Fields
feature: &'static str
The feature in question.
restriction: FeatureRestriction
The restriction that was not met.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FeatureRestrictionError
impl Send for FeatureRestrictionError
impl Sync for FeatureRestrictionError
impl Unpin for FeatureRestrictionError
impl UnwindSafe for FeatureRestrictionError
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.