pub struct SectionLimits {
pub max_source_vertices: usize,
pub max_source_triangles: usize,
pub max_output_vertices: usize,
pub max_contours: usize,
}Expand description
Hard bounds for one mesh section request.
Fields§
§max_source_vertices: usizeMaximum source positions inspected.
max_source_triangles: usizeMaximum source triangles inspected.
max_output_vertices: usizeMaximum vertices across all output contours.
max_contours: usizeMaximum output contours.
Implementations§
Source§impl SectionLimits
impl SectionLimits
Trait Implementations§
Source§impl Clone for SectionLimits
impl Clone for SectionLimits
Source§fn clone(&self) -> SectionLimits
fn clone(&self) -> SectionLimits
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 SectionLimits
impl Debug for SectionLimits
Source§impl PartialEq for SectionLimits
impl PartialEq for SectionLimits
impl Copy for SectionLimits
impl Eq for SectionLimits
impl StructuralPartialEq for SectionLimits
Auto Trait Implementations§
impl Freeze for SectionLimits
impl RefUnwindSafe for SectionLimits
impl Send for SectionLimits
impl Sync for SectionLimits
impl Unpin for SectionLimits
impl UnwindSafe for SectionLimits
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
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