#[repr(C)]pub struct ParamByteFieldData {
pub param_max_len: u32,
pub param_act_len: u32,
pub p_data_array: *mut u8,
}
Expand description
ComParam byte field data
Fields§
§param_max_len: u32
Maximum number of bytes the ParamByteFieldData::p_data_array can contain
param_act_len: u32
Current (actual) number of bytes in ParamByteFieldData::p_data_array
p_data_array: *mut u8
Pointer to data array
Trait Implementations§
Source§impl Clone for ParamByteFieldData
impl Clone for ParamByteFieldData
Source§fn clone(&self) -> ParamByteFieldData
fn clone(&self) -> ParamByteFieldData
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 ParamByteFieldData
impl Debug for ParamByteFieldData
Source§impl Ord for ParamByteFieldData
impl Ord for ParamByteFieldData
Source§fn cmp(&self, other: &ParamByteFieldData) -> Ordering
fn cmp(&self, other: &ParamByteFieldData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParamByteFieldData
impl PartialEq for ParamByteFieldData
Source§impl PartialOrd for ParamByteFieldData
impl PartialOrd for ParamByteFieldData
impl Copy for ParamByteFieldData
impl Eq for ParamByteFieldData
impl StructuralPartialEq for ParamByteFieldData
Auto Trait Implementations§
impl Freeze for ParamByteFieldData
impl RefUnwindSafe for ParamByteFieldData
impl !Send for ParamByteFieldData
impl !Sync for ParamByteFieldData
impl Unpin for ParamByteFieldData
impl UnwindSafe for ParamByteFieldData
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