#[repr(C)]pub struct AxiolidVisibleRegion {
pub mesh_id: u64,
pub first_ring: usize,
pub ring_count: usize,
pub first_triangle: usize,
pub triangle_count: usize,
pub group: u32,
pub source: AxiolidFaceSource,
}Expand description
One visible region: a run of rings and a run of triangle indices.
Fields§
§mesh_id: u64The caller’s mesh id.
first_ring: usizeIndex of the region’s outer ring in the ring table; its holes follow.
ring_count: usizeRings of the region: the outer ring plus its holes.
first_triangle: usizeIndex of the region’s first triangle in the triangle table.
triangle_count: usizeFrontmost triangles of the region; zero for a cap.
group: u32The face group when source is Group, otherwise 0.
source: AxiolidFaceSourceTrait Implementations§
Source§impl Clone for AxiolidVisibleRegion
impl Clone for AxiolidVisibleRegion
Source§fn clone(&self) -> AxiolidVisibleRegion
fn clone(&self) -> AxiolidVisibleRegion
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 moreimpl Copy for AxiolidVisibleRegion
Source§impl Debug for AxiolidVisibleRegion
impl Debug for AxiolidVisibleRegion
impl Eq for AxiolidVisibleRegion
Source§impl PartialEq for AxiolidVisibleRegion
impl PartialEq for AxiolidVisibleRegion
impl StructuralPartialEq for AxiolidVisibleRegion
Auto Trait Implementations§
impl Freeze for AxiolidVisibleRegion
impl RefUnwindSafe for AxiolidVisibleRegion
impl Send for AxiolidVisibleRegion
impl Sync for AxiolidVisibleRegion
impl Unpin for AxiolidVisibleRegion
impl UnsafeUnpin for AxiolidVisibleRegion
impl UnwindSafe for AxiolidVisibleRegion
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more