Enum vulkano::device::ExtensionRestriction
source · [−]pub enum ExtensionRestriction {
NotSupported,
RequiredIfSupported,
Requires(OneOfRequirements),
ConflictsDeviceExtension(&'static str),
}
Variants
NotSupported
Not supported by the loader or physical device.
RequiredIfSupported
Required to be enabled by the physical device.
Requires(OneOfRequirements)
Requires one of the following.
ConflictsDeviceExtension(&'static str)
Requires a device extension to be disabled.
Trait Implementations
sourceimpl Clone for ExtensionRestriction
impl Clone for ExtensionRestriction
sourcefn clone(&self) -> ExtensionRestriction
fn clone(&self) -> ExtensionRestriction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExtensionRestriction
impl Debug for ExtensionRestriction
sourceimpl Display for ExtensionRestriction
impl Display for ExtensionRestriction
impl Copy for ExtensionRestriction
Auto Trait Implementations
impl RefUnwindSafe for ExtensionRestriction
impl Send for ExtensionRestriction
impl Sync for ExtensionRestriction
impl Unpin for ExtensionRestriction
impl UnwindSafe for ExtensionRestriction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more