Struct CellComplex
pub struct CellComplex { /* private fields */ }Expand description
A collection of geometric cells.
Implementations§
§impl CellComplex
impl CellComplex
pub const fn new(cells: Vec<Cell>) -> CellComplex
pub const fn new(cells: Vec<Cell>) -> CellComplex
Creates a cell complex.
pub fn cell_count(&self) -> usize
pub fn cell_count(&self) -> usize
Returns the number of cells.
Trait Implementations§
§impl Clone for CellComplex
impl Clone for CellComplex
§fn clone(&self) -> CellComplex
fn clone(&self) -> CellComplex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CellComplex
impl Debug for CellComplex
§impl PartialEq for CellComplex
impl PartialEq for CellComplex
impl Eq for CellComplex
impl StructuralPartialEq for CellComplex
Auto Trait Implementations§
impl Freeze for CellComplex
impl RefUnwindSafe for CellComplex
impl Send for CellComplex
impl Sync for CellComplex
impl Unpin for CellComplex
impl UnsafeUnpin for CellComplex
impl UnwindSafe for CellComplex
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