pub enum Base {
Ground,
Aloft(u32),
}Expand description
What a place stands on (spec-0098 §2).
The third declared plane of a box’s cuboid, beside PlanBox::floor (the
walk plane) and PlanBox::ceiling (the headroom).
Variants§
Ground
The place stands on the site’s ground: its claim reaches down, column by column, to the terrain under its plot or its floor course, whichever is lower, and the whole hands it that ground and fixes its ring.
Aloft(u32)
The place hangs — a bridge, a gantry, a treehouse: its claim stops this
many courses under its floor course (0 is the floor course alone). It
is handed no ground and no fixed ring, and the space under it is
whoever claims it, else the site’s fill. Terrain reaching into the claim
is refused (DW0990).
Implementations§
Trait Implementations§
impl Copy for Base
Source§impl<'de> Deserialize<'de> for Base
impl<'de> Deserialize<'de> for Base
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Base
Source§impl JsonSchema for Base
impl JsonSchema for Base
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Base
Auto Trait Implementations§
impl Freeze for Base
impl RefUnwindSafe for Base
impl Send for Base
impl Sync for Base
impl Unpin for Base
impl UnsafeUnpin for Base
impl UnwindSafe for Base
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