pub struct CleanOptions {Show 17 fields
pub make_valid: bool,
pub drop_invalid: bool,
pub remove_selfloops: bool,
pub min_length_m: f64,
pub node_snap_m: f64,
pub node_precision_decimals: u32,
pub merge_node_positions: bool,
pub dedupe_edges: bool,
pub remove_isolates: bool,
pub max_components: usize,
pub required_attrs: Option<Vec<String>>,
pub merge_parallel_edges: bool,
pub merge_parallel_edge_properties: bool,
pub property_merge_strategy: String,
pub simplify_tolerance_m: f64,
pub include_polygons: bool,
pub include_points: bool,
}Fields§
§make_valid: bool§drop_invalid: bool§remove_selfloops: bool§min_length_m: f64§node_snap_m: f64§node_precision_decimals: u32§merge_node_positions: bool§dedupe_edges: bool§remove_isolates: bool§max_components: usize§required_attrs: Option<Vec<String>>§merge_parallel_edges: bool§merge_parallel_edge_properties: bool§property_merge_strategy: String§simplify_tolerance_m: f64§include_polygons: bool§include_points: boolTrait Implementations§
Source§impl Clone for CleanOptions
impl Clone for CleanOptions
Source§fn clone(&self) -> CleanOptions
fn clone(&self) -> CleanOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CleanOptions
impl Debug for CleanOptions
Source§impl Default for CleanOptions
impl Default for CleanOptions
Source§impl<'de> Deserialize<'de> for CleanOptions
impl<'de> Deserialize<'de> for CleanOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CleanOptions
impl RefUnwindSafe for CleanOptions
impl Send for CleanOptions
impl Sync for CleanOptions
impl Unpin for CleanOptions
impl UnsafeUnpin for CleanOptions
impl UnwindSafe for CleanOptions
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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