pub struct TopologyArena {
pub wire_solid_id: u64,
pub genus: i64,
pub vertices: SlotMap<VertexId, ArenaVertex>,
pub edges: SlotMap<EdgeId, ArenaEdge>,
pub coedges: SlotMap<CoedgeId, ArenaCoedge>,
pub loops: SlotMap<LoopId, ArenaLoop>,
pub faces: SlotMap<FaceId, ArenaFace>,
pub shells: SlotMap<ShellId, ArenaShell>,
}Expand description
Type-safe mutable topology used inside the kernel. The JSON/WASM record model remains the stable wire format; conversion happens at that boundary.
Fields§
§wire_solid_id: u64§genus: i64§vertices: SlotMap<VertexId, ArenaVertex>§edges: SlotMap<EdgeId, ArenaEdge>§coedges: SlotMap<CoedgeId, ArenaCoedge>§loops: SlotMap<LoopId, ArenaLoop>§faces: SlotMap<FaceId, ArenaFace>§shells: SlotMap<ShellId, ArenaShell>Implementations§
Trait Implementations§
Source§impl Clone for TopologyArena
impl Clone for TopologyArena
Source§fn clone(&self) -> TopologyArena
fn clone(&self) -> TopologyArena
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TopologyArena
impl !Sync for TopologyArena
impl Freeze for TopologyArena
impl Send for TopologyArena
impl Unpin for TopologyArena
impl UnsafeUnpin for TopologyArena
impl UnwindSafe for TopologyArena
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