pub struct SplineType {
pub start: Option<Point>,
pub end: Option<Point>,
pub spline_points: Vec<Point>,
}Expand description
The number of points in the list must be equivalent to 1 mod 3; note that this is not checked. TODO: should we check?
Fields§
§start: Option<Point>§end: Option<Point>§spline_points: Vec<Point>Trait Implementations§
Source§impl<'a> DotString<'a> for SplineType
impl<'a> DotString<'a> for SplineType
fn dot_string(&self) -> Cow<'a, str>
Source§impl<'a> From<SplineType> for AttributeText<'a>
impl<'a> From<SplineType> for AttributeText<'a>
Source§fn from(spline_type: SplineType) -> Self
fn from(spline_type: SplineType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SplineType
impl RefUnwindSafe for SplineType
impl Send for SplineType
impl Sync for SplineType
impl Unpin for SplineType
impl UnsafeUnpin for SplineType
impl UnwindSafe for SplineType
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