#[repr(C)]pub struct splitflags {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub name_flags: c_int,
}Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§name_flags: c_intImplementations§
Source§impl splitflags
impl splitflags
pub fn dryrun(&self) -> c_int
pub fn set_dryrun(&mut self, val: c_int)
pub fn import(&self) -> c_int
pub fn set_import(&mut self, val: c_int)
pub fn new_bitfield_1( dryrun: c_int, import: c_int, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for splitflags
impl Clone for splitflags
Source§fn clone(&self) -> splitflags
fn clone(&self) -> splitflags
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 splitflags
impl Debug for splitflags
impl Copy for splitflags
Auto Trait Implementations§
impl Freeze for splitflags
impl RefUnwindSafe for splitflags
impl Send for splitflags
impl Sync for splitflags
impl Unpin for splitflags
impl UnwindSafe for splitflags
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