pub struct Plane {
pub id: String,
pub title: Option<String>,
pub kind: PlaneKind,
pub chunk_size: u16,
pub default_zone: Option<String>,
pub canonical: String,
pub zones: BTreeMap<String, Zone>,
pub anchors: BTreeMap<String, Anchor>,
pub stairwells: BTreeMap<String, Stairwell>,
pub chunks: BTreeMap<(i32, i64, i64), Chunk>,
}Expand description
One plane with its zones, anchors, stairwells and chunks.
Fields§
§id: String§title: Option<String>§kind: PlaneKind§chunk_size: u16§default_zone: Option<String>§canonical: StringCanonical JSON of plane.jsonc.
zones: BTreeMap<String, Zone>§anchors: BTreeMap<String, Anchor>§stairwells: BTreeMap<String, Stairwell>§chunks: BTreeMap<(i32, i64, i64), Chunk>Chunks keyed by (layer, cx, cy).
Trait Implementations§
impl StructuralPartialEq for Plane
Auto Trait Implementations§
impl Freeze for Plane
impl RefUnwindSafe for Plane
impl Send for Plane
impl Sync for Plane
impl Unpin for Plane
impl UnsafeUnpin for Plane
impl UnwindSafe for Plane
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