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