#[non_exhaustive]pub struct MeshTopology {
pub components: Vec<ComponentTopology>,
}Expand description
The topology of a two-manifold triangle mesh.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.components: Vec<ComponentTopology>Connected components (triangles joined through shared edges), in order of their first triangle.
Trait Implementations§
Source§impl Clone for MeshTopology
impl Clone for MeshTopology
Source§fn clone(&self) -> MeshTopology
fn clone(&self) -> MeshTopology
Returns a copy 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 moreSource§impl Debug for MeshTopology
impl Debug for MeshTopology
Source§impl PartialEq for MeshTopology
impl PartialEq for MeshTopology
impl Eq for MeshTopology
impl StructuralPartialEq for MeshTopology
Auto Trait Implementations§
impl Freeze for MeshTopology
impl RefUnwindSafe for MeshTopology
impl Send for MeshTopology
impl Sync for MeshTopology
impl Unpin for MeshTopology
impl UnwindSafe for MeshTopology
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