pub struct MorphEdge {
pub delta: Vector2D,
pub morph_delta: Vector2D,
pub control_delta: Option<Vector2D>,
pub morph_control_delta: Option<Vector2D>,
}
Fields§
§delta: Vector2D
Difference between the edge start and edge end in the start-state of the morph shape.
morph_delta: Vector2D
Difference between the edge start and edge end in the end-state of the morph shape.
control_delta: Option<Vector2D>
Difference between the edge start and quadratic bezier control point (if any) in the start-state of the morph shape.
morph_control_delta: Option<Vector2D>
Difference between the edge start and quadratic bezier control point (if any) in the end-state of the morph shape.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MorphEdge
impl<'de> Deserialize<'de> for MorphEdge
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for MorphEdge
impl Ord for MorphEdge
Source§impl PartialOrd for MorphEdge
impl PartialOrd for MorphEdge
impl Copy for MorphEdge
impl Eq for MorphEdge
impl StructuralPartialEq for MorphEdge
Auto Trait Implementations§
impl Freeze for MorphEdge
impl RefUnwindSafe for MorphEdge
impl Send for MorphEdge
impl Sync for MorphEdge
impl Unpin for MorphEdge
impl UnwindSafe for MorphEdge
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