pub enum Ceiling {
Clearance(NonZeroU32),
Open(NonZeroU32),
}Expand description
What closes a place overhead.
Variants§
Clearance(NonZeroU32)
Cells of headroom over the walk plane. A body’s feet are at the floor and
the ceiling course sits at floor + clearance.
Open(NonZeroU32)
A sky-open place — a courtyard, a shore, a summit, a bridge’s deck:
exactly this many courses of air over the walk plane are claimed, and
nothing above them. An open place is precisely one that makes no
claim on the air over its headroom, so a clearance volume above a
courtyard is the whole reserving sky rather than two authorities over
one cell, and a place hung over the yard stands in the yard’s sky.
Trait Implementations§
impl Copy for Ceiling
Source§impl<'de> Deserialize<'de> for Ceiling
impl<'de> Deserialize<'de> for Ceiling
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 Ceiling
Source§impl JsonSchema for Ceiling
impl JsonSchema for Ceiling
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 Ceiling
Auto Trait Implementations§
impl Freeze for Ceiling
impl RefUnwindSafe for Ceiling
impl Send for Ceiling
impl Sync for Ceiling
impl Unpin for Ceiling
impl UnsafeUnpin for Ceiling
impl UnwindSafe for Ceiling
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