#[repr(transparent)]pub struct SerialPinChange(pub i32);
Expand description
Required features: "Devices_SerialCommunication"
Tuple Fields
0: i32
Implementations
impl SerialPinChange
impl SerialPinChange
pub const BreakSignal: Self = Self(0i32)
pub const CarrierDetect: Self = Self(1i32)
pub const ClearToSend: Self = Self(2i32)
pub const DataSetReady: Self = Self(3i32)
pub const RingIndicator: Self = Self(4i32)
Trait Implementations
impl Clone for SerialPinChange
impl Clone for SerialPinChange
impl Copy for SerialPinChange
Auto Trait Implementations
impl RefUnwindSafe for SerialPinChange
impl Send for SerialPinChange
impl Sync for SerialPinChange
impl Unpin for SerialPinChange
impl UnwindSafe for SerialPinChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more