pub enum BareTopology {
Loop,
Vertex,
}Expand description
Stage a bare IfcLoop or IfcVertex.
Both are concrete in the schema despite having no attributes, and
both are ordinarily written as one of their subtypes –
poly_loop, edge_loop, vertex_loop, vertex_point.
The bare forms exist for a topology that names a connection without
yet describing its geometry, which round-tripping a partial model
requires: refusing to write them would make this library unable to
reproduce a file it can read.
Variants§
Loop
IfcLoop: a closed path with no stated geometry.
Vertex
IfcVertex: a point with no stated geometry.
Trait Implementations§
Source§impl Clone for BareTopology
impl Clone for BareTopology
impl Copy for BareTopology
Source§impl Debug for BareTopology
impl Debug for BareTopology
impl Eq for BareTopology
Source§impl PartialEq for BareTopology
impl PartialEq for BareTopology
impl StructuralPartialEq for BareTopology
Auto Trait Implementations§
impl Freeze for BareTopology
impl RefUnwindSafe for BareTopology
impl Send for BareTopology
impl Sync for BareTopology
impl Unpin for BareTopology
impl UnsafeUnpin for BareTopology
impl UnwindSafe for BareTopology
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