pub struct CommandRef {
pub name: String,
pub span: Span,
}Expand description
A command a feature is implemented by: a protocol command such as
feature, or a standard media command such as media.play.
Fields§
§name: String§span: SpanTrait Implementations§
Source§impl Clone for CommandRef
impl Clone for CommandRef
Auto Trait Implementations§
impl !Send for CommandRef
impl !Sync for CommandRef
impl Freeze for CommandRef
impl RefUnwindSafe for CommandRef
impl Unpin for CommandRef
impl UnsafeUnpin for CommandRef
impl UnwindSafe for CommandRef
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