pub(crate) struct Axis {
pub dim: usize,
pub major_dir: Direction,
pub segments: SmallVec<Segment, MAX_INLINE_SEGMENTS>,
pub edges: SmallVec<Edge, MAX_INLINE_EDGES>,
}
Expand description
Segments and edges for one dimension of an outline.
Fields§
§dim: usize
Either horizontal or vertical.
major_dir: Direction
Depends on dimension and outline orientation.
segments: SmallVec<Segment, MAX_INLINE_SEGMENTS>
Collection of segments for the axis.
edges: SmallVec<Edge, MAX_INLINE_EDGES>
Collection of edges for the axis.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
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