Struct ark_api::world::EntityPair
source · #[repr(C)]pub struct EntityPair {
pub a: u64,
pub b: u64,
}Fields§
§a: u64§b: u64Trait Implementations§
source§impl Clone for EntityPair
impl Clone for EntityPair
source§fn clone(&self) -> EntityPair
fn clone(&self) -> EntityPair
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 EntityPair
impl Debug for EntityPair
source§impl Default for EntityPair
impl Default for EntityPair
source§fn default() -> EntityPair
fn default() -> EntityPair
Returns the “default value” for a type. Read more
source§impl PartialEq<EntityPair> for EntityPair
impl PartialEq<EntityPair> for EntityPair
source§fn eq(&self, other: &EntityPair) -> bool
fn eq(&self, other: &EntityPair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for EntityPair
impl Pod for EntityPair
impl StructuralPartialEq for EntityPair
Auto Trait Implementations§
impl RefUnwindSafe for EntityPair
impl Send for EntityPair
impl Sync for EntityPair
impl Unpin for EntityPair
impl UnwindSafe for EntityPair
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<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.