pub struct MeshSegmentation {
pub triangle_region_ids: Vec<u32>,
pub regions: Vec<MeshRegion>,
pub triangle_count: usize,
pub welded_vertex_count: usize,
}Expand description
Segmentation result: triangle_region_ids[t] is the region id of input
triangle t (index into regions; UNASSIGNED_REGION for degenerate
triangles with no assignable neighbor).
Fields§
§triangle_region_ids: Vec<u32>§regions: Vec<MeshRegion>§triangle_count: usize§welded_vertex_count: usizeTrait Implementations§
Source§impl Clone for MeshSegmentation
impl Clone for MeshSegmentation
Source§fn clone(&self) -> MeshSegmentation
fn clone(&self) -> MeshSegmentation
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 MeshSegmentation
impl Debug for MeshSegmentation
Source§impl<'de> Deserialize<'de> for MeshSegmentation
impl<'de> Deserialize<'de> for MeshSegmentation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MeshSegmentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MeshSegmentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MeshSegmentation
impl Serialize for MeshSegmentation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for MeshSegmentation
impl Freeze for MeshSegmentation
impl Move for MeshSegmentation
impl RefUnwindSafe for MeshSegmentation
impl Send for MeshSegmentation
impl Sync for MeshSegmentation
impl Unpin for MeshSegmentation
impl UnsafeUnpin for MeshSegmentation
impl UnwindSafe for MeshSegmentation
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