Struct mach_sys::message::mach_msg_ool_descriptor_t
source · #[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 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 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 PartialEq for mach_msg_ool_descriptor_t
impl PartialEq for mach_msg_ool_descriptor_t
source§fn eq(&self, other: &mach_msg_ool_descriptor_t) -> bool
fn eq(&self, other: &mach_msg_ool_descriptor_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for mach_msg_ool_descriptor_t
impl PartialOrd for mach_msg_ool_descriptor_t
source§fn partial_cmp(&self, other: &mach_msg_ool_descriptor_t) -> Option<Ordering>
fn partial_cmp(&self, other: &mach_msg_ool_descriptor_t) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl 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 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