Struct ncollide2d::broad_phase::ProxyHandle
source · pub struct ProxyHandle(pub usize);
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl Clone for ProxyHandle
impl Clone for ProxyHandle
source§fn clone(&self) -> ProxyHandle
fn clone(&self) -> ProxyHandle
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 ProxyHandle
impl Debug for ProxyHandle
source§impl Hash for ProxyHandle
impl Hash for ProxyHandle
source§impl Ord for ProxyHandle
impl Ord for ProxyHandle
source§fn cmp(&self, other: &ProxyHandle) -> Ordering
fn cmp(&self, other: &ProxyHandle) -> 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<ProxyHandle> for ProxyHandle
impl PartialEq<ProxyHandle> for ProxyHandle
source§fn eq(&self, other: &ProxyHandle) -> bool
fn eq(&self, other: &ProxyHandle) -> bool
source§impl PartialOrd<ProxyHandle> for ProxyHandle
impl PartialOrd<ProxyHandle> for ProxyHandle
source§fn partial_cmp(&self, other: &ProxyHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &ProxyHandle) -> 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 ProxyHandle
impl Eq for ProxyHandle
impl StructuralEq for ProxyHandle
impl StructuralPartialEq for ProxyHandle
Auto Trait Implementations§
impl RefUnwindSafe for ProxyHandle
impl Send for ProxyHandle
impl Sync for ProxyHandle
impl Unpin for ProxyHandle
impl UnwindSafe for ProxyHandle
Blanket Implementations§
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.