pub struct SetIoCapability(/* private fields */);
Expand description
Set IO Capability Command
Implementations§
Source§impl SetIoCapability
impl SetIoCapability
Sourcepub fn new(f0: IoCapability) -> Self
pub fn new(f0: IoCapability) -> Self
Constructs a new SetIoCapability
.
Trait Implementations§
Source§impl AsMut<IoCapability> for SetIoCapability
impl AsMut<IoCapability> for SetIoCapability
Source§fn as_mut(&mut self) -> &mut IoCapability
fn as_mut(&mut self) -> &mut IoCapability
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<IoCapability> for SetIoCapability
impl AsRef<IoCapability> for SetIoCapability
Source§fn as_ref(&self) -> &IoCapability
fn as_ref(&self) -> &IoCapability
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl CommandRequest for SetIoCapability
impl CommandRequest for SetIoCapability
Source§const CODE: CommandCode = CommandCode::SetIoCapability
const CODE: CommandCode = CommandCode::SetIoCapability
Command code.
Source§type Reply = SetIoCapabilityReply
type Reply = SetIoCapabilityReply
Return type for this command.
Source§impl Debug for SetIoCapability
impl Debug for SetIoCapability
Source§impl Deref for SetIoCapability
impl Deref for SetIoCapability
Source§impl DerefMut for SetIoCapability
impl DerefMut for SetIoCapability
Source§impl From<IoCapability> for SetIoCapability
impl From<IoCapability> for SetIoCapability
Source§fn from(v: IoCapability) -> Self
fn from(v: IoCapability) -> Self
Converts to this type from the input type.
Source§impl From<SetIoCapability> for Command
impl From<SetIoCapability> for Command
Source§fn from(v: SetIoCapability) -> Self
fn from(v: SetIoCapability) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetIoCapability
impl RefUnwindSafe for SetIoCapability
impl Send for SetIoCapability
impl Sync for SetIoCapability
impl Unpin for SetIoCapability
impl UnwindSafe for SetIoCapability
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