pub struct CommandTarget { /* private fields */ }Implementations§
Source§impl CommandTarget
impl CommandTarget
pub fn resource_id<T>(self, value: T) -> Self
pub fn resource_type<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CommandTarget
impl Clone for CommandTarget
Source§fn clone(&self) -> CommandTarget
fn clone(&self) -> CommandTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandTarget
impl Debug for CommandTarget
Source§impl Default for CommandTarget
impl Default for CommandTarget
Source§impl From<CommandTarget> for CommandTarget
impl From<CommandTarget> for CommandTarget
Source§fn from(value: CommandTarget) -> Self
fn from(value: CommandTarget) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CommandTarget> for CommandTarget
impl TryFrom<CommandTarget> for CommandTarget
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CommandTarget) -> Result<Self, ConversionError>
fn try_from(value: CommandTarget) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CommandTarget
impl RefUnwindSafe for CommandTarget
impl Send for CommandTarget
impl Sync for CommandTarget
impl Unpin for CommandTarget
impl UnsafeUnpin for CommandTarget
impl UnwindSafe for CommandTarget
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