pub enum Requires {
APIVersion(Version),
Feature(&'static str),
DeviceExtension(&'static str),
InstanceExtension(&'static str),
}
Expand description
Something that needs to be supported or enabled to allow a particular operation.
Variants§
APIVersion(Version)
Feature(&'static str)
DeviceExtension(&'static str)
InstanceExtension(&'static str)
Trait Implementations§
source§impl PartialEq for Requires
impl PartialEq for Requires
impl Copy for Requires
impl Eq for Requires
impl StructuralEq for Requires
impl StructuralPartialEq for Requires
Auto Trait Implementations§
impl RefUnwindSafe for Requires
impl Send for Requires
impl Sync for Requires
impl Unpin for Requires
impl UnwindSafe for Requires
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more