#[repr(C, packed(2))]pub struct SerialPrefs {
pub sp_Reserved: [LONG; 3],
pub sp_Unit0Map: ULONG,
pub sp_BaudRate: ULONG,
pub sp_InputBuffer: ULONG,
pub sp_OutputBuffer: ULONG,
pub sp_InputHandshake: UBYTE,
pub sp_OutputHandshake: UBYTE,
pub sp_Parity: UBYTE,
pub sp_BitsPerChar: UBYTE,
pub sp_StopBits: UBYTE,
}Fields§
§sp_Reserved: [LONG; 3]§sp_Unit0Map: ULONG§sp_BaudRate: ULONG§sp_InputBuffer: ULONG§sp_OutputBuffer: ULONG§sp_InputHandshake: UBYTE§sp_OutputHandshake: UBYTE§sp_Parity: UBYTE§sp_BitsPerChar: UBYTE§sp_StopBits: UBYTETrait Implementations§
Source§impl Clone for SerialPrefs
impl Clone for SerialPrefs
Source§fn clone(&self) -> SerialPrefs
fn clone(&self) -> SerialPrefs
Returns a duplicate 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 moreSource§impl Debug for SerialPrefs
impl Debug for SerialPrefs
impl Copy for SerialPrefs
Auto Trait Implementations§
impl Freeze for SerialPrefs
impl RefUnwindSafe for SerialPrefs
impl Send for SerialPrefs
impl Sync for SerialPrefs
impl Unpin for SerialPrefs
impl UnwindSafe for SerialPrefs
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