Enum vulkano::device::FeatureRestriction
source · [−]pub enum FeatureRestriction {
NotSupported,
RequiresFeature(&'static str),
ConflictsFeature(&'static str),
RequiredByExtension(&'static str),
}
Variants
NotSupported
Not supported by the physical device.
RequiresFeature(&'static str)
Requires a feature to be enabled.
ConflictsFeature(&'static str)
Requires a feature to be disabled.
RequiredByExtension(&'static str)
An extension requires this feature to be enabled.
Trait Implementations
sourceimpl Clone for FeatureRestriction
impl Clone for FeatureRestriction
sourcefn clone(&self) -> FeatureRestriction
fn clone(&self) -> FeatureRestriction
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 FeatureRestriction
impl Debug for FeatureRestriction
sourceimpl Display for FeatureRestriction
impl Display for FeatureRestriction
impl Copy for FeatureRestriction
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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more