Struct interoptopus::lang::c::OpaqueType
source · pub struct OpaqueType { /* private fields */ }
Expand description
A named struct
that becomes a fieldless typedef struct S S;
in C.
Implementations§
Trait Implementations§
source§impl Clone for OpaqueType
impl Clone for OpaqueType
source§fn clone(&self) -> OpaqueType
fn clone(&self) -> OpaqueType
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 OpaqueType
impl Debug for OpaqueType
source§impl Hash for OpaqueType
impl Hash for OpaqueType
source§impl Ord for OpaqueType
impl Ord for OpaqueType
source§fn cmp(&self, other: &OpaqueType) -> Ordering
fn cmp(&self, other: &OpaqueType) -> 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 OpaqueType
impl PartialEq for OpaqueType
source§fn eq(&self, other: &OpaqueType) -> bool
fn eq(&self, other: &OpaqueType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OpaqueType
impl PartialOrd for OpaqueType
source§fn partial_cmp(&self, other: &OpaqueType) -> Option<Ordering>
fn partial_cmp(&self, other: &OpaqueType) -> 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 Eq for OpaqueType
impl StructuralPartialEq for OpaqueType
Auto Trait Implementations§
impl RefUnwindSafe for OpaqueType
impl Send for OpaqueType
impl Sync for OpaqueType
impl Unpin for OpaqueType
impl UnwindSafe for OpaqueType
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