pub struct Mode(/* private fields */);Expand description
A mode packet. Packet: mode
Implementations§
Trait Implementations§
Source§impl From<pt_packet_mode> for Mode
impl From<pt_packet_mode> for Mode
Source§fn from(origin: pt_packet_mode) -> Self
fn from(origin: pt_packet_mode) -> Self
Converts to this type from the input type.
impl Copy for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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