Struct windows::Devices::SerialCommunication::SerialPinChange
#[repr(transparent)]pub struct SerialPinChange(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl SerialPinChange
impl SerialPinChange
pub const BreakSignal: Self = _
pub const CarrierDetect: Self = _
pub const ClearToSend: Self = _
pub const DataSetReady: Self = _
pub const RingIndicator: Self = _
Trait Implementations§
§impl Clone for SerialPinChange
impl Clone for SerialPinChange
§fn clone(&self) -> SerialPinChange
fn clone(&self) -> SerialPinChange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SerialPinChange
impl Debug for SerialPinChange
§impl Default for SerialPinChange
impl Default for SerialPinChange
§fn default() -> SerialPinChange
fn default() -> SerialPinChange
Returns the “default value” for a type. Read more
§impl PartialEq for SerialPinChange
impl PartialEq for SerialPinChange
§fn eq(&self, other: &SerialPinChange) -> bool
fn eq(&self, other: &SerialPinChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SerialPinChange
impl Eq for SerialPinChange
impl StructuralPartialEq for SerialPinChange
Auto Trait Implementations§
impl Freeze for SerialPinChange
impl RefUnwindSafe for SerialPinChange
impl Send for SerialPinChange
impl Sync for SerialPinChange
impl Unpin for SerialPinChange
impl UnwindSafe for SerialPinChange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)