#[non_exhaustive]pub enum Holder<'a> {
Manifest,
Profile,
Schema {
path: &'a str,
},
Transitions,
Definition {
kind: &'a str,
id: &'a str,
},
Plane {
plane: &'a str,
},
Zone {
plane: &'a str,
zone: &'a str,
},
Stairwell {
plane: &'a str,
stairwell: &'a str,
},
Chunk {
plane: &'a str,
chunk: ChunkKey,
},
Object {
plane: &'a str,
chunk: ChunkKey,
ordinal: usize,
},
}Expand description
What holds a reference.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Manifest
world.jsonc.
Profile
The profile document.
Schema
A schema document, by its root-relative path.
Transitions
The profile’s transitions document.
Definition
A definition.
Plane
A plane’s plane.jsonc.
Zone
A zone of a plane’s zones.jsonc.
Stairwell
A stairwell of a plane’s stairwells.jsonc.
Chunk
A chunk itself: its grid palettes.
Object
An object of a chunk, inventory entries included. ordinal is the
object’s position in Chunk::depth_first,
its index in the chunk.
Trait Implementations§
impl<'a> Copy for Holder<'a>
impl<'a> Eq for Holder<'a>
Source§impl<'a> Ord for Holder<'a>
impl<'a> Ord for Holder<'a>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<'a> PartialOrd for Holder<'a>
impl<'a> PartialOrd for Holder<'a>
impl<'a> StructuralPartialEq for Holder<'a>
Auto Trait Implementations§
impl<'a> Forget for Holder<'a>
impl<'a> Freeze for Holder<'a>
impl<'a> Move for Holder<'a>
impl<'a> RefUnwindSafe for Holder<'a>
impl<'a> Send for Holder<'a>
impl<'a> Sync for Holder<'a>
impl<'a> Unpin for Holder<'a>
impl<'a> UnsafeUnpin for Holder<'a>
impl<'a> UnwindSafe for Holder<'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