pub struct Hatches<'a, T: CLIType> { /* private fields */ }
Expand description

Collection of hatches inside a Layer

Each hatch is a line segment with a start and end point the Segment trait is provided as an abstraction layer over the internal storage of each segment which is [T; 4]

Implementations

Iterate over hatches as segments

Note availability of Segment trait for a cleaner interface

Get the CLI ID of this primitive

Pointer into the segment of the file that contains this geometry. The array should consist of sets of 2 points where each point consists of an X element then a Y element.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.