Struct mach::message::mach_msg_ool_ports_descriptor_t
source · #[repr(C)]pub struct mach_msg_ool_ports_descriptor_t {
pub address: *mut c_void,
pub deallocate: u8,
pub copy: u8,
pub disposition: u8,
pub type_: u8,
pub count: mach_msg_size_t,
}
Fields§
§address: *mut c_void
§deallocate: u8
§copy: u8
§disposition: u8
§type_: u8
§count: mach_msg_size_t
Trait Implementations§
source§impl Clone for mach_msg_ool_ports_descriptor_t
impl Clone for mach_msg_ool_ports_descriptor_t
source§fn clone(&self) -> mach_msg_ool_ports_descriptor_t
fn clone(&self) -> mach_msg_ool_ports_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 Ord for mach_msg_ool_ports_descriptor_t
impl Ord for mach_msg_ool_ports_descriptor_t
source§fn cmp(&self, other: &mach_msg_ool_ports_descriptor_t) -> Ordering
fn cmp(&self, other: &mach_msg_ool_ports_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<mach_msg_ool_ports_descriptor_t> for mach_msg_ool_ports_descriptor_t
impl PartialEq<mach_msg_ool_ports_descriptor_t> for mach_msg_ool_ports_descriptor_t
source§fn eq(&self, other: &mach_msg_ool_ports_descriptor_t) -> bool
fn eq(&self, other: &mach_msg_ool_ports_descriptor_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<mach_msg_ool_ports_descriptor_t> for mach_msg_ool_ports_descriptor_t
impl PartialOrd<mach_msg_ool_ports_descriptor_t> for mach_msg_ool_ports_descriptor_t
source§fn partial_cmp(
&self,
other: &mach_msg_ool_ports_descriptor_t
) -> Option<Ordering>
fn partial_cmp( &self, other: &mach_msg_ool_ports_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_ports_descriptor_t
impl Eq for mach_msg_ool_ports_descriptor_t
impl StructuralEq for mach_msg_ool_ports_descriptor_t
impl StructuralPartialEq for mach_msg_ool_ports_descriptor_t
Auto Trait Implementations§
impl RefUnwindSafe for mach_msg_ool_ports_descriptor_t
impl !Send for mach_msg_ool_ports_descriptor_t
impl !Sync for mach_msg_ool_ports_descriptor_t
impl Unpin for mach_msg_ool_ports_descriptor_t
impl UnwindSafe for mach_msg_ool_ports_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