pub struct PathSample {
pub position: Point,
pub tangent: Point,
}Expand description
PathSample contains a position and direction along a measured contour.
Fields§
§position: Pointposition is the sampled point on the contour.
tangent: Pointtangent is the unit direction toward increasing distance.
Trait Implementations§
Source§impl Clone for PathSample
impl Clone for PathSample
Source§fn clone(&self) -> PathSample
fn clone(&self) -> PathSample
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 moreimpl Copy for PathSample
Source§impl Debug for PathSample
impl Debug for PathSample
Source§impl PartialEq for PathSample
impl PartialEq for PathSample
impl StructuralPartialEq for PathSample
Auto Trait Implementations§
impl Freeze for PathSample
impl RefUnwindSafe for PathSample
impl Send for PathSample
impl Sync for PathSample
impl Unpin for PathSample
impl UnsafeUnpin for PathSample
impl UnwindSafe for PathSample
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