pub struct WorldBorderPortalTpBoundary(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
source§impl Clone for WorldBorderPortalTpBoundary
impl Clone for WorldBorderPortalTpBoundary
source§fn clone(&self) -> WorldBorderPortalTpBoundary
fn clone(&self) -> WorldBorderPortalTpBoundary
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 Component for WorldBorderPortalTpBoundarywhere
Self: Send + Sync + 'static,
impl Component for WorldBorderPortalTpBoundarywhere Self: Send + Sync + 'static,
§type Storage = TableStorage
type Storage = TableStorage
A marker type indicating the storage type used for this component.
This must be either
TableStorage
or SparseStorage
.source§impl Debug for WorldBorderPortalTpBoundary
impl Debug for WorldBorderPortalTpBoundary
source§impl Ord for WorldBorderPortalTpBoundary
impl Ord for WorldBorderPortalTpBoundary
source§fn cmp(&self, other: &WorldBorderPortalTpBoundary) -> Ordering
fn cmp(&self, other: &WorldBorderPortalTpBoundary) -> 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<WorldBorderPortalTpBoundary> for WorldBorderPortalTpBoundary
impl PartialEq<WorldBorderPortalTpBoundary> for WorldBorderPortalTpBoundary
source§fn eq(&self, other: &WorldBorderPortalTpBoundary) -> bool
fn eq(&self, other: &WorldBorderPortalTpBoundary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<WorldBorderPortalTpBoundary> for WorldBorderPortalTpBoundary
impl PartialOrd<WorldBorderPortalTpBoundary> for WorldBorderPortalTpBoundary
source§fn partial_cmp(&self, other: &WorldBorderPortalTpBoundary) -> Option<Ordering>
fn partial_cmp(&self, other: &WorldBorderPortalTpBoundary) -> 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 WorldBorderPortalTpBoundary
impl Eq for WorldBorderPortalTpBoundary
impl StructuralEq for WorldBorderPortalTpBoundary
impl StructuralPartialEq for WorldBorderPortalTpBoundary
Auto Trait Implementations§
impl RefUnwindSafe for WorldBorderPortalTpBoundary
impl Send for WorldBorderPortalTpBoundary
impl Sync for WorldBorderPortalTpBoundary
impl Unpin for WorldBorderPortalTpBoundary
impl UnwindSafe for WorldBorderPortalTpBoundary
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
source§impl<C> Bundle for Cwhere
C: Component,
impl<C> Bundle for Cwhere C: Component,
fn component_ids( components: &mut Components, storages: &mut Storages, ids: &mut impl FnMut(ComponentId) )
unsafe fn from_components<T, F>(ctx: &mut T, func: &mut F) -> Cwhere F: for<'a> FnMut(&'a mut T) -> OwningPtr<'a, Aligned>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>
fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<C> DynamicBundle for Cwhere
C: Component,
impl<C> DynamicBundle for Cwhere C: Component,
fn get_components( self, func: &mut impl FnMut(StorageType, OwningPtr<'_, Aligned>) )
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere T: Default,
source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self
using data from the given World