pub struct DeclaredOpening {
pub width: NonZeroU32,
pub height: NonZeroU32,
}Expand description
An opening the seam sizes itself: cells on the face’s own two in-plane
axes — along the wall and up it on a vertical face, x and z through a
floor.
Fields§
§width: NonZeroU32Clear width, in cells.
height: NonZeroU32Clear height, in cells.
Trait Implementations§
Source§impl Clone for DeclaredOpening
impl Clone for DeclaredOpening
impl Copy for DeclaredOpening
Source§impl Debug for DeclaredOpening
impl Debug for DeclaredOpening
Source§impl<'de> Deserialize<'de> for DeclaredOpening
impl<'de> Deserialize<'de> for DeclaredOpening
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 DeclaredOpening
Source§impl JsonSchema for DeclaredOpening
impl JsonSchema for DeclaredOpening
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 moreSource§impl PartialEq for DeclaredOpening
impl PartialEq for DeclaredOpening
Source§impl Serialize for DeclaredOpening
impl Serialize for DeclaredOpening
impl StructuralPartialEq for DeclaredOpening
Auto Trait Implementations§
impl Freeze for DeclaredOpening
impl RefUnwindSafe for DeclaredOpening
impl Send for DeclaredOpening
impl Sync for DeclaredOpening
impl Unpin for DeclaredOpening
impl UnsafeUnpin for DeclaredOpening
impl UnwindSafe for DeclaredOpening
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