pub enum Partitioning {
Integer,
Pow2,
FractionalOdd,
FractionalEven,
}Expand description
How the tessellator spaces the vertices it adds along an edge.
Variants§
Integer
Each edge is divided into a whole number of segments.
Pow2
The factor is rounded up to a power of two.
FractionalOdd
Fractional, with an odd number of segments between the ends.
FractionalEven
Fractional, with an even number of segments.
Trait Implementations§
Source§impl Clone for Partitioning
impl Clone for Partitioning
impl Copy for Partitioning
Source§impl Debug for Partitioning
impl Debug for Partitioning
impl Eq for Partitioning
Source§impl Hash for Partitioning
impl Hash for Partitioning
Source§impl Ord for Partitioning
impl Ord for Partitioning
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Partitioning
impl PartialEq for Partitioning
Source§impl PartialOrd for Partitioning
impl PartialOrd for Partitioning
Source§impl Serialize for Partitioning
impl Serialize for Partitioning
impl StructuralPartialEq for Partitioning
Auto Trait Implementations§
impl Freeze for Partitioning
impl RefUnwindSafe for Partitioning
impl Send for Partitioning
impl Sync for Partitioning
impl Unpin for Partitioning
impl UnsafeUnpin for Partitioning
impl UnwindSafe for Partitioning
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