#[non_exhaustive]pub enum BoundaryPhysicality {
Physical,
Virtual,
NotDefined,
Unrecognized,
}Expand description
Whether a boundary is real fabric or an analytical divider.
NotDefined is a distinct member rather than an Option because the
schema states it explicitly: a file saying “not defined” is making a
claim, and collapsing it into “absent” loses that.
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.
Physical
Real fabric: a wall, slab or roof.
Virtual
An analytical divider with no element, e.g. across an opening.
NotDefined
Stated as undetermined by the file.
Unrecognized
The slot held something that is not one of the three enum members.
Trait Implementations§
Source§impl Clone for BoundaryPhysicality
impl Clone for BoundaryPhysicality
Source§fn clone(&self) -> BoundaryPhysicality
fn clone(&self) -> BoundaryPhysicality
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundaryPhysicality
Source§impl Debug for BoundaryPhysicality
impl Debug for BoundaryPhysicality
impl Eq for BoundaryPhysicality
Source§impl PartialEq for BoundaryPhysicality
impl PartialEq for BoundaryPhysicality
impl StructuralPartialEq for BoundaryPhysicality
Auto Trait Implementations§
impl Freeze for BoundaryPhysicality
impl RefUnwindSafe for BoundaryPhysicality
impl Send for BoundaryPhysicality
impl Sync for BoundaryPhysicality
impl Unpin for BoundaryPhysicality
impl UnsafeUnpin for BoundaryPhysicality
impl UnwindSafe for BoundaryPhysicality
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