pub struct GuideSide {
pub geometry: Value,
pub anchor_slot: usize,
pub seg_count: usize,
pub anchor: Value,
pub handle: Value,
}Expand description
One side of a spline joint as the palette sees it: which spline the
(anchor, handle) pair belongs to and where that anchor sits in the control
polygon. The shell’s copy of the kernel’s spline_curvature_side, minus the
second control point — the palette only has to decide what to OFFER, and the
solver derives the rest from the same polygon.
Fields§
§geometry: ValueId of the spline geometry.
anchor_slot: usizePolygon slot 3i of the anchor.
seg_count: usizeSpan count n of that spline.
anchor: Value§handle: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GuideSide
impl RefUnwindSafe for GuideSide
impl Send for GuideSide
impl Sync for GuideSide
impl Unpin for GuideSide
impl UnsafeUnpin for GuideSide
impl UnwindSafe for GuideSide
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more