pub struct SpatialCut {
pub point: Point,
pub from_out: Vec2,
pub cut_in: Vec2,
pub cut_out: Vec2,
pub to_in: Vec2,
}Expand description
The two halves of a spatial segment cut at one point.
Fields§
§point: PointWhere the path is cut.
from_out: Vec2The first half’s control point after from, relative to from.
cut_in: Vec2The first half’s control point before the cut, relative to the cut.
cut_out: Vec2The second half’s control point after the cut, relative to the cut.
to_in: Vec2The second half’s control point before to, relative to to.
Trait Implementations§
Source§impl Clone for SpatialCut
impl Clone for SpatialCut
impl Copy for SpatialCut
Source§impl Debug for SpatialCut
impl Debug for SpatialCut
Source§impl PartialEq for SpatialCut
impl PartialEq for SpatialCut
impl StructuralPartialEq for SpatialCut
Auto Trait Implementations§
impl Forget for SpatialCut
impl Freeze for SpatialCut
impl Move for SpatialCut
impl RefUnwindSafe for SpatialCut
impl Send for SpatialCut
impl Sync for SpatialCut
impl Unpin for SpatialCut
impl UnsafeUnpin for SpatialCut
impl UnwindSafe for SpatialCut
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