#[repr(C)]pub struct SERENUM_PORT_PARAMETERS {
pub Size: u32,
pub ReadAccessor: PSERENUM_READPORT,
pub WriteAccessor: PSERENUM_WRITEPORT,
pub SerPortAddress: *mut c_void,
pub HardwareHandle: *mut c_void,
pub Portion: SERENUM_PORTION,
pub NumberAxis: u16,
pub Reserved: [u16; 3],
}
Fields§
§Size: u32
§ReadAccessor: PSERENUM_READPORT
§WriteAccessor: PSERENUM_WRITEPORT
§SerPortAddress: *mut c_void
§HardwareHandle: *mut c_void
§Portion: SERENUM_PORTION
§NumberAxis: u16
§Reserved: [u16; 3]
Trait Implementations§
§impl Clone for SERENUM_PORT_PARAMETERS
impl Clone for SERENUM_PORT_PARAMETERS
§fn clone(&self) -> SERENUM_PORT_PARAMETERS
fn clone(&self) -> SERENUM_PORT_PARAMETERS
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 moreimpl Copy for SERENUM_PORT_PARAMETERS
Auto Trait Implementations§
impl Freeze for SERENUM_PORT_PARAMETERS
impl RefUnwindSafe for SERENUM_PORT_PARAMETERS
impl !Send for SERENUM_PORT_PARAMETERS
impl !Sync for SERENUM_PORT_PARAMETERS
impl Unpin for SERENUM_PORT_PARAMETERS
impl UnwindSafe for SERENUM_PORT_PARAMETERS
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
)