pub struct EqualAngleOpts {
pub use_weights: bool,
pub total_angle_deg: f64,
pub root_split: i32,
}Expand description
Options for EqualAngle
Fields§
§use_weights: boolUse edge weights when laying out coordinates (true = weighted steps)
total_angle_deg: f64Total circle angle for split directions (default 360.0)
root_split: i32Root split id for tiny offsets when !use_weights (0/neg = none)
Trait Implementations§
Source§impl Clone for EqualAngleOpts
impl Clone for EqualAngleOpts
Source§fn clone(&self) -> EqualAngleOpts
fn clone(&self) -> EqualAngleOpts
Returns a duplicate of the value. Read more
1.0.0 · 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 EqualAngleOpts
impl Debug for EqualAngleOpts
Source§impl Default for EqualAngleOpts
impl Default for EqualAngleOpts
impl Copy for EqualAngleOpts
Auto Trait Implementations§
impl Freeze for EqualAngleOpts
impl RefUnwindSafe for EqualAngleOpts
impl Send for EqualAngleOpts
impl Sync for EqualAngleOpts
impl Unpin for EqualAngleOpts
impl UnwindSafe for EqualAngleOpts
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> 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