#[non_exhaustive]
pub enum Command {
Alias {
name: String,
alias: String,
},
Definition(CommandDefinition),
}Expand description
A command is just a Vulkan function.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Alias
Indicates this function is an alias for another one.
Definition(CommandDefinition)
Defines a new Vulkan function.
Trait Implementations
sourceimpl PartialEq<Command> for Command
impl PartialEq<Command> for Command
impl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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