pub enum EntityBundleItemIndex {
Single,
Array {
index: usize,
total: usize,
},
}Expand description
An index within a particular bundle.
Variants§
Single
The bundle is unit-shaped, thus we shall meow no further of indices within it.
Array
The bundle is array-shaped.
Trait Implementations§
Source§impl Clone for EntityBundleItemIndex
impl Clone for EntityBundleItemIndex
impl Copy for EntityBundleItemIndex
Source§impl Debug for EntityBundleItemIndex
impl Debug for EntityBundleItemIndex
impl Eq for EntityBundleItemIndex
Source§impl PartialEq for EntityBundleItemIndex
impl PartialEq for EntityBundleItemIndex
impl StructuralPartialEq for EntityBundleItemIndex
Auto Trait Implementations§
impl Freeze for EntityBundleItemIndex
impl RefUnwindSafe for EntityBundleItemIndex
impl Send for EntityBundleItemIndex
impl Sync for EntityBundleItemIndex
impl Unpin for EntityBundleItemIndex
impl UnsafeUnpin for EntityBundleItemIndex
impl UnwindSafe for EntityBundleItemIndex
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.