Enum lyon_tessellation::OnError
[−]
[src]
pub enum OnError { Panic, Stop, Recover, }
Defines the tessellator the should try to behave when detecting an error.
Variants
Panic
Panic as soon as the error is detected.
Most suitabke for testing.
Stop
Interrupt tesselation and return an error.
Recover
Attempt to continue if possible, stop otherwise.
The resulting tessellation may be locallt incorrect.
Trait Implementations
impl Copy for OnError
[src]
impl Clone for OnError
[src]
fn clone(&self) -> OnError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for OnError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for OnError
[src]
fn eq(&self, __arg_0: &OnError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.