#[repr(C)]pub struct dm_report_field_type {
pub type_: u32,
pub flags: u32,
pub offset: u32,
pub width: i32,
pub id: [c_char; 32],
pub heading: [c_char; 32],
pub report_fn: Option<unsafe extern "C" fn(rh: *mut dm_report, mem: *mut dm_pool, field: *mut dm_report_field, data: *const c_void, private_data: *mut c_void) -> c_int>,
pub desc: *const c_char,
}Fields§
§type_: u32§flags: u32§offset: u32§width: i32§id: [c_char; 32]§heading: [c_char; 32]§report_fn: Option<unsafe extern "C" fn(rh: *mut dm_report, mem: *mut dm_pool, field: *mut dm_report_field, data: *const c_void, private_data: *mut c_void) -> c_int>§desc: *const c_charTrait Implementations§
Source§impl Clone for dm_report_field_type
impl Clone for dm_report_field_type
Source§fn clone(&self) -> dm_report_field_type
fn clone(&self) -> dm_report_field_type
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 moreSource§impl Debug for dm_report_field_type
impl Debug for dm_report_field_type
impl Copy for dm_report_field_type
Auto Trait Implementations§
impl Freeze for dm_report_field_type
impl RefUnwindSafe for dm_report_field_type
impl !Send for dm_report_field_type
impl !Sync for dm_report_field_type
impl Unpin for dm_report_field_type
impl UnwindSafe for dm_report_field_type
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