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