[−][src]Struct msdfgen::QuadraticSegment
Quadratic segment object
Methods
impl QuadraticSegment
[src]
pub fn new(
start_point: impl Into<Point2<f64>>,
control_point: impl Into<Point2<f64>>,
end_point: impl Into<Point2<f64>>,
edge_color: impl Into<EdgeColor>
) -> Self
[src]
start_point: impl Into<Point2<f64>>,
control_point: impl Into<Point2<f64>>,
end_point: impl Into<Point2<f64>>,
edge_color: impl Into<EdgeColor>
) -> Self
Creates new quadratic curve segment
Trait Implementations
impl EdgeSegment for QuadraticSegment
[src]
fn segment_kind(&self) -> SegmentKind
[src]
fn start_point(&self) -> &Point2<f64>
[src]
fn start_point_mut(&mut self) -> &mut Point2<f64>
[src]
fn control_point(&self, num: u8) -> Option<&Point2<f64>>
[src]
fn control_point_mut(&mut self, num: u8) -> Option<&mut Point2<f64>>
[src]
fn end_point(&self) -> &Point2<f64>
[src]
fn end_point_mut(&mut self) -> &mut Point2<f64>
[src]
fn edge_color(&self) -> &EdgeColor
[src]
fn edge_color_mut(&mut self) -> &mut EdgeColor
[src]
fn into_raw(self) -> *mut msdfgen_EdgeSegment
[src]
Auto Trait Implementations
impl RefUnwindSafe for QuadraticSegment
impl !Send for QuadraticSegment
impl !Sync for QuadraticSegment
impl Unpin for QuadraticSegment
impl UnwindSafe for QuadraticSegment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,