Struct fyrox_core::PhantomDataSendSync
source · pub struct PhantomDataSendSync<T: ?Sized>(/* private fields */);Trait Implementations§
source§impl<T: ?Sized> Clone for PhantomDataSendSync<T>
impl<T: ?Sized> Clone for PhantomDataSendSync<T>
source§impl<T: ?Sized> Default for PhantomDataSendSync<T>
impl<T: ?Sized> Default for PhantomDataSendSync<T>
source§impl<T: ?Sized> Hash for PhantomDataSendSync<T>
impl<T: ?Sized> Hash for PhantomDataSendSync<T>
source§impl<T: ?Sized> Ord for PhantomDataSendSync<T>
impl<T: ?Sized> Ord for PhantomDataSendSync<T>
source§fn cmp(&self, _other: &PhantomDataSendSync<T>) -> Ordering
fn cmp(&self, _other: &PhantomDataSendSync<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<T: ?Sized> PartialEq for PhantomDataSendSync<T>
impl<T: ?Sized> PartialEq for PhantomDataSendSync<T>
source§fn eq(&self, _other: &PhantomDataSendSync<T>) -> bool
fn eq(&self, _other: &PhantomDataSendSync<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T: ?Sized> PartialOrd for PhantomDataSendSync<T>
impl<T: ?Sized> PartialOrd for PhantomDataSendSync<T>
source§fn partial_cmp(&self, _other: &PhantomDataSendSync<T>) -> Option<Ordering>
fn partial_cmp(&self, _other: &PhantomDataSendSync<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<T: ?Sized> Copy for PhantomDataSendSync<T>
impl<T: ?Sized> Eq for PhantomDataSendSync<T>
impl<T: ?Sized> Send for PhantomDataSendSync<T>
impl<T: ?Sized> Sync for PhantomDataSendSync<T>
Auto Trait Implementations§
impl<T> Freeze for PhantomDataSendSync<T>where
T: ?Sized,
impl<T> RefUnwindSafe for PhantomDataSendSync<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Unpin for PhantomDataSendSync<T>
impl<T> UnwindSafe for PhantomDataSendSync<T>where
T: UnwindSafe + ?Sized,
Blanket Implementations§
source§impl<T> AsyncTaskResult for T
impl<T> AsyncTaskResult for T
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
source§impl<T> FieldValue for Twhere
T: 'static,
impl<T> FieldValue for Twhere
T: 'static,
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§fn to_subset_unchecked(&self) -> SS
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.