Struct libdevmapper_sys::dm_report_field_type
source · #[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_char
Trait Implementations
sourceimpl Clone for dm_report_field_type
impl Clone for dm_report_field_type
sourcefn clone(&self) -> dm_report_field_type
fn clone(&self) -> dm_report_field_type
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for dm_report_field_type
impl Debug for dm_report_field_type
impl Copy for dm_report_field_type
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more