#[repr(C)]pub struct mach_msg_ool_descriptor_t {
pub address: *mut c_void,
pub deallocate: u8,
pub copy: u8,
pub pad1: u8,
pub type_: u8,
pub size: mach_msg_size_t,
}Fields§
§address: *mut c_void§deallocate: u8§copy: u8§pad1: u8§type_: u8§size: mach_msg_size_tImplementations§
Source§impl mach_msg_ool_descriptor_t
impl mach_msg_ool_descriptor_t
pub const fn new( address: *mut c_void, deallocate: bool, copy: mach_msg_copy_options_t, size: mach_msg_size_t, ) -> Self
Trait Implementations§
Source§impl Clone for mach_msg_ool_descriptor_t
impl Clone for mach_msg_ool_descriptor_t
Source§fn clone(&self) -> mach_msg_ool_descriptor_t
fn clone(&self) -> mach_msg_ool_descriptor_t
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_msg_ool_descriptor_t
impl Debug for mach_msg_ool_descriptor_t
Source§impl Hash for mach_msg_ool_descriptor_t
impl Hash for mach_msg_ool_descriptor_t
Source§impl Ord for mach_msg_ool_descriptor_t
impl Ord for mach_msg_ool_descriptor_t
Source§fn cmp(&self, other: &mach_msg_ool_descriptor_t) -> Ordering
fn cmp(&self, other: &mach_msg_ool_descriptor_t) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for mach_msg_ool_descriptor_t
impl PartialOrd for mach_msg_ool_descriptor_t
impl Copy for mach_msg_ool_descriptor_t
impl Eq for mach_msg_ool_descriptor_t
impl StructuralPartialEq for mach_msg_ool_descriptor_t
Auto Trait Implementations§
impl Freeze for mach_msg_ool_descriptor_t
impl RefUnwindSafe for mach_msg_ool_descriptor_t
impl !Send for mach_msg_ool_descriptor_t
impl !Sync for mach_msg_ool_descriptor_t
impl Unpin for mach_msg_ool_descriptor_t
impl UnwindSafe for mach_msg_ool_descriptor_t
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