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.
Methods
impl OnError
[src]
impl OnError
Trait Implementations
impl Clone for OnError
[src]
impl Clone for OnError
fn clone(&self) -> OnError
[src]
fn clone(&self) -> OnError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for OnError
[src]
impl Default for OnError
impl Debug for OnError
[src]
impl Debug for OnError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for OnError
[src]
impl Copy for OnError
impl PartialEq<OnError> for OnError
[src]
impl PartialEq<OnError> for OnError