#[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_: u32flags: u32offset: u32width: i32id: [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_char

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.