Struct lyon_algorithms::rect::ToRectangleOptions
source · [−]pub struct ToRectangleOptions {
pub tolerance: f32,
pub auto_close: bool,
pub ignore_open_empty_sub_paths: bool,
pub ignore_closed_empty_sub_paths: bool,
}
Fields
tolerance: f32
auto_close: bool
ignore_open_empty_sub_paths: bool
If true don’t consider open sub-paths with no segment.
ignore_closed_empty_sub_paths: bool
If true don’t consider closed sub-paths with no segment.
Implementations
Trait Implementations
sourceimpl Clone for ToRectangleOptions
impl Clone for ToRectangleOptions
sourcefn clone(&self) -> ToRectangleOptions
fn clone(&self) -> ToRectangleOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ToRectangleOptions
impl Debug for ToRectangleOptions
sourceimpl Default for ToRectangleOptions
impl Default for ToRectangleOptions
sourceimpl PartialEq<ToRectangleOptions> for ToRectangleOptions
impl PartialEq<ToRectangleOptions> for ToRectangleOptions
sourcefn eq(&self, other: &ToRectangleOptions) -> bool
fn eq(&self, other: &ToRectangleOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ToRectangleOptions) -> bool
fn ne(&self, other: &ToRectangleOptions) -> bool
This method tests for !=
.
impl Copy for ToRectangleOptions
impl StructuralPartialEq for ToRectangleOptions
Auto Trait Implementations
impl RefUnwindSafe for ToRectangleOptions
impl Send for ToRectangleOptions
impl Sync for ToRectangleOptions
impl Unpin for ToRectangleOptions
impl UnwindSafe for ToRectangleOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more