pub struct ShellConnectivity {
pub shell_id: u64,
pub faces: usize,
pub components: usize,
pub detached: Vec<Vec<u64>>,
}Expand description
One shell’s connectivity: how many edge-connected pieces its faces form.
Fields§
§shell_id: u64§faces: usize§components: usizeEdge-connected components of this shell’s faces. Anything but 1 means the record holds several surfaces under one shell.
detached: Vec<Vec<u64>>Face ids of every component EXCEPT the largest, smallest first — the
pieces that would each have had to be their own shell. Empty when
components == 1.
Trait Implementations§
Source§impl Clone for ShellConnectivity
impl Clone for ShellConnectivity
Source§fn clone(&self) -> ShellConnectivity
fn clone(&self) -> ShellConnectivity
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 moreSource§impl Debug for ShellConnectivity
impl Debug for ShellConnectivity
Auto Trait Implementations§
impl Freeze for ShellConnectivity
impl RefUnwindSafe for ShellConnectivity
impl Send for ShellConnectivity
impl Sync for ShellConnectivity
impl Unpin for ShellConnectivity
impl UnsafeUnpin for ShellConnectivity
impl UnwindSafe for ShellConnectivity
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