#[repr(C)]pub struct mach_port_qos {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
pub len: natural_t,
}Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>§len: natural_tImplementations§
Source§impl mach_port_qos
impl mach_port_qos
pub fn name(&self) -> c_uint
pub fn set_name(&mut self, val: c_uint)
pub fn prealloc(&self) -> c_uint
pub fn set_prealloc(&mut self, val: c_uint)
pub fn pad1(&self) -> boolean_t
pub fn set_pad1(&mut self, val: boolean_t)
pub fn new_bitfield_1( name: c_uint, prealloc: c_uint, pad1: boolean_t, ) -> __BindgenBitfieldUnit<[u8; 4], u32>
Trait Implementations§
Source§impl Clone for mach_port_qos
impl Clone for mach_port_qos
Source§fn clone(&self) -> mach_port_qos
fn clone(&self) -> mach_port_qos
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 mach_port_qos
impl Debug for mach_port_qos
impl Copy for mach_port_qos
Auto Trait Implementations§
impl Freeze for mach_port_qos
impl RefUnwindSafe for mach_port_qos
impl Send for mach_port_qos
impl Sync for mach_port_qos
impl Unpin for mach_port_qos
impl UnwindSafe for mach_port_qos
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