#[repr(C)]pub struct msdfgen_CubicSegment {
pub _base: msdfgen_EdgeSegment,
pub p: [msdfgen_Point2; 4],
}Expand description
A cubic Bezier curve.
Fields§
§_base: msdfgen_EdgeSegment§p: [msdfgen_Point2; 4]Implementations§
Source§impl msdfgen_CubicSegment
impl msdfgen_CubicSegment
pub unsafe fn deconverge(&mut self, param: c_int, amount: f64)
pub unsafe fn new( p0: msdfgen_Point2, p1: msdfgen_Point2, p2: msdfgen_Point2, p3: msdfgen_Point2, edgeColor: msdfgen_EdgeColor, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for msdfgen_CubicSegment
impl RefUnwindSafe for msdfgen_CubicSegment
impl !Send for msdfgen_CubicSegment
impl !Sync for msdfgen_CubicSegment
impl Unpin for msdfgen_CubicSegment
impl UnwindSafe for msdfgen_CubicSegment
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