pub enum Scope<'a> {
Game,
World,
Dimension(&'a str),
Player(&'a str),
Entity(&'a str),
Chunk(&'a str, i32, i32),
}Expand description
What a store belongs to — under a root: the game’s folder for
Scope::Game, the world’s for the rest (see the crate docs).
Variants§
Game
The install, whatever world (settings, what a player made to keep).
World
The world as a whole.
Dimension(&'a str)
One dimension of the world, by its id (minecraft:overworld).
Player(&'a str)
One player, by uuid.
Entity(&'a str)
One entity, by uuid.
Chunk(&'a str, i32, i32)
One chunk: its dimension and coordinates.
Implementations§
Trait Implementations§
impl<'a> Copy for Scope<'a>
impl<'a> Eq for Scope<'a>
impl<'a> StructuralPartialEq for Scope<'a>
Auto Trait Implementations§
impl<'a> Freeze for Scope<'a>
impl<'a> RefUnwindSafe for Scope<'a>
impl<'a> Send for Scope<'a>
impl<'a> Sync for Scope<'a>
impl<'a> Unpin for Scope<'a>
impl<'a> UnsafeUnpin for Scope<'a>
impl<'a> UnwindSafe for Scope<'a>
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