Struct mach::message::mach_msg_header_t
source · #[repr(C)]pub struct mach_msg_header_t {
pub msgh_bits: mach_msg_bits_t,
pub msgh_size: mach_msg_size_t,
pub msgh_remote_port: mach_port_t,
pub msgh_local_port: mach_port_t,
pub msgh_voucher_port: mach_port_name_t,
pub msgh_id: mach_msg_id_t,
}
Fields§
§msgh_bits: mach_msg_bits_t
§msgh_size: mach_msg_size_t
§msgh_remote_port: mach_port_t
§msgh_local_port: mach_port_t
§msgh_voucher_port: mach_port_name_t
§msgh_id: mach_msg_id_t
Trait Implementations§
source§impl Clone for mach_msg_header_t
impl Clone for mach_msg_header_t
source§fn clone(&self) -> mach_msg_header_t
fn clone(&self) -> mach_msg_header_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_header_t
impl Debug for mach_msg_header_t
source§impl Default for mach_msg_header_t
impl Default for mach_msg_header_t
source§fn default() -> mach_msg_header_t
fn default() -> mach_msg_header_t
Returns the “default value” for a type. Read more
source§impl Hash for mach_msg_header_t
impl Hash for mach_msg_header_t
source§impl Ord for mach_msg_header_t
impl Ord for mach_msg_header_t
source§fn cmp(&self, other: &mach_msg_header_t) -> Ordering
fn cmp(&self, other: &mach_msg_header_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_header_t> for mach_msg_header_t
impl PartialEq<mach_msg_header_t> for mach_msg_header_t
source§fn eq(&self, other: &mach_msg_header_t) -> bool
fn eq(&self, other: &mach_msg_header_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<mach_msg_header_t> for mach_msg_header_t
impl PartialOrd<mach_msg_header_t> for mach_msg_header_t
source§fn partial_cmp(&self, other: &mach_msg_header_t) -> Option<Ordering>
fn partial_cmp(&self, other: &mach_msg_header_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_header_t
impl Eq for mach_msg_header_t
impl StructuralEq for mach_msg_header_t
impl StructuralPartialEq for mach_msg_header_t
Auto Trait Implementations§
impl RefUnwindSafe for mach_msg_header_t
impl Send for mach_msg_header_t
impl Sync for mach_msg_header_t
impl Unpin for mach_msg_header_t
impl UnwindSafe for mach_msg_header_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