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

Returns tuple as const pointer tuple.

Safety

  • Do not convert these pointers to mutable pointers.

Returns tuple as mutable pointer tuple.

Safety

  • Do not invalidate aliasing rules unless you can guarantee it’s safe.

Implementations on Foreign Types

Implementors