Struct lyon_algorithms::hatching::HatchSegment
source · pub struct HatchSegment {
pub a: HatchEndpoint,
pub b: HatchEndpoint,
pub row: u32,
pub v: f32,
}
Fields§
§a: HatchEndpoint
Left endpoint.
b: HatchEndpoint
Right endpoint.
row: u32
Index of the current row.
v: f32
Rotated position along a direction perpendicular to the hatching pattern.
This position is relative to uv_origin
specified in the HatchingOptions
.
Auto Trait Implementations§
impl RefUnwindSafe for HatchSegment
impl Send for HatchSegment
impl Sync for HatchSegment
impl Unpin for HatchSegment
impl UnwindSafe for HatchSegment
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