Struct lyon_algorithms::hatching::HatchEndpoint
source · pub struct HatchEndpoint {
pub position: Point,
pub tangent: Vector,
pub u: f32,
}
Fields§
§position: Point
Position in world space of the point.
tangent: Vector
Tangent of the path edge at this point (pointing downward).
u: f32
Rotated position along the direction of the hatching pattern.
This position is relative to uv_origin
specified in the HatchingOptions
.
Auto Trait Implementations§
impl RefUnwindSafe for HatchEndpoint
impl Send for HatchEndpoint
impl Sync for HatchEndpoint
impl Unpin for HatchEndpoint
impl UnwindSafe for HatchEndpoint
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