struct PathCostData {
num_line_segments: u64,
num_curve_segments: u64,
path_length: f64,
}Fields§
§num_line_segments: u64§num_curve_segments: u64§path_length: f64Implementations§
Source§impl PathCostData
impl PathCostData
fn new(path: impl IntoIterator<Item = PathSeg>, transform: Affine) -> Self
Auto Trait Implementations§
impl Freeze for PathCostData
impl RefUnwindSafe for PathCostData
impl Send for PathCostData
impl Sync for PathCostData
impl Unpin for PathCostData
impl UnsafeUnpin for PathCostData
impl UnwindSafe for PathCostData
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> 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