pub enum SlotRange {
Single(i32),
Range {
min: i32,
max: i32,
},
Contents,
Named(&'static [&'static str]),
}Expand description
A range of slots for the Slots entry type.
Variants§
Single(i32)
A single specific slot index.
Range
A range of slots (inclusive).
Contents
All contents slots.
Named(&'static [&'static str])
Specific named slots (for entities).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SlotRange
impl RefUnwindSafe for SlotRange
impl Send for SlotRange
impl Sync for SlotRange
impl Unpin for SlotRange
impl UnsafeUnpin for SlotRange
impl UnwindSafe for SlotRange
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