pub struct CommandMetadata {
pub name: &'static str,
pub alias_of: Option<&'static str>,
pub dispatch: &'static str,
pub physical_device: bool,
pub requirements: &'static [&'static [CapabilityRequirement]],
}Fields§
§name: &'static str§alias_of: Option<&'static str>§dispatch: &'static str§physical_device: boolPhysical-device query, even though it uses instance dispatch.
requirements: &'static [&'static [CapabilityRequirement]]Alternatives of conjunctions for this exact command spelling.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CommandMetadata
impl Freeze for CommandMetadata
impl RefUnwindSafe for CommandMetadata
impl Send for CommandMetadata
impl Sync for CommandMetadata
impl Unpin for CommandMetadata
impl UnsafeUnpin for CommandMetadata
impl UnwindSafe for CommandMetadata
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