#[repr(C)]pub struct fy_diag_cfg {
pub fp: *mut FILE,
pub output_fn: fy_diag_output_fn,
pub user: *mut c_void,
pub level: fy_error_type,
pub module_mask: c_uint,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub source_width: c_int,
pub position_width: c_int,
pub type_width: c_int,
pub module_width: c_int,
}Fields§
§fp: *mut FILE§output_fn: fy_diag_output_fn§user: *mut c_void§level: fy_error_type§module_mask: c_uint§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§source_width: c_int§position_width: c_int§type_width: c_int§module_width: c_intImplementations§
Source§impl fy_diag_cfg
impl fy_diag_cfg
pub fn colorize(&self) -> bool
pub fn set_colorize(&mut self, val: bool)
pub unsafe fn colorize_raw(this: *const Self) -> bool
pub unsafe fn set_colorize_raw(this: *mut Self, val: bool)
pub fn show_source(&self) -> bool
pub fn set_show_source(&mut self, val: bool)
pub unsafe fn show_source_raw(this: *const Self) -> bool
pub unsafe fn set_show_source_raw(this: *mut Self, val: bool)
pub fn show_position(&self) -> bool
pub fn set_show_position(&mut self, val: bool)
pub unsafe fn show_position_raw(this: *const Self) -> bool
pub unsafe fn set_show_position_raw(this: *mut Self, val: bool)
pub fn show_type(&self) -> bool
pub fn set_show_type(&mut self, val: bool)
pub unsafe fn show_type_raw(this: *const Self) -> bool
pub unsafe fn set_show_type_raw(this: *mut Self, val: bool)
pub fn show_module(&self) -> bool
pub fn set_show_module(&mut self, val: bool)
pub unsafe fn show_module_raw(this: *const Self) -> bool
pub unsafe fn set_show_module_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( colorize: bool, show_source: bool, show_position: bool, show_type: bool, show_module: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for fy_diag_cfg
impl Clone for fy_diag_cfg
Source§fn clone(&self) -> fy_diag_cfg
fn clone(&self) -> fy_diag_cfg
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 fy_diag_cfg
impl Debug for fy_diag_cfg
impl Copy for fy_diag_cfg
Auto Trait Implementations§
impl Freeze for fy_diag_cfg
impl RefUnwindSafe for fy_diag_cfg
impl !Send for fy_diag_cfg
impl !Sync for fy_diag_cfg
impl Unpin for fy_diag_cfg
impl UnwindSafe for fy_diag_cfg
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