Trait shard_ecs::RefTuple [−][src]
pub trait RefTuple<'a>: SealedRefTuple { type Types; type ConstPointerTuple: ConstPointerTuple; type MutPointerTuple: MutPointerTuple; const LENGTH: u8; unsafe fn as_const_pointer_tuple(&self) -> Self::ConstPointerTuple; unsafe fn as_mut_pointer_tuple(&self) -> Self::MutPointerTuple; }
Associated Types
Associated Constants
Required methods
unsafe fn as_const_pointer_tuple(&self) -> Self::ConstPointerTuple
unsafe fn as_const_pointer_tuple(&self) -> Self::ConstPointerTuple
unsafe fn as_mut_pointer_tuple(&self) -> Self::MutPointerTuple
unsafe fn as_mut_pointer_tuple(&self) -> Self::MutPointerTuple
Returns tuple as mutable pointer tuple.
Safety
- Do not invalidate aliasing rules unless you can guarantee it’s safe.
Implementations on Foreign Types
type ConstPointerTuple = (*const T7, *const T8)
type MutPointerTuple = (*mut T7, *mut T8)