Enum lyon::path::QuadraticEvent [−]
pub enum QuadraticEvent { MoveTo(TypedPoint2D<f32, UnknownUnit>), LineTo(TypedPoint2D<f32, UnknownUnit>), QuadraticTo(TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>), Close, }
Variants
MoveTo(TypedPoint2D<f32, UnknownUnit>)
LineTo(TypedPoint2D<f32, UnknownUnit>)
QuadraticTo(TypedPoint2D<f32, UnknownUnit>, TypedPoint2D<f32, UnknownUnit>)
Close
Methods
impl QuadraticEvent
impl QuadraticEvent
pub fn to_svg_event(self) -> SvgEvent
pub fn to_svg_event(self) -> SvgEvent
pub fn to_path_event(self) -> PathEvent
pub fn to_path_event(self) -> PathEvent
Trait Implementations
impl Clone for QuadraticEvent
impl Clone for QuadraticEvent
fn clone(&self) -> QuadraticEvent
fn clone(&self) -> QuadraticEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for QuadraticEvent
impl Debug for QuadraticEvent
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for QuadraticEvent
impl Copy for QuadraticEvent
impl Transform for QuadraticEvent
impl Transform for QuadraticEvent
fn transform(
&self,
mat: &TypedTransform2D<f32, UnknownUnit, UnknownUnit>
) -> QuadraticEvent
fn transform(
&self,
mat: &TypedTransform2D<f32, UnknownUnit, UnknownUnit>
) -> QuadraticEvent
impl PartialEq<QuadraticEvent> for QuadraticEvent
impl PartialEq<QuadraticEvent> for QuadraticEvent
fn eq(&self, other: &QuadraticEvent) -> bool
fn eq(&self, other: &QuadraticEvent) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &QuadraticEvent) -> bool
fn ne(&self, other: &QuadraticEvent) -> bool
This method tests for !=
.
impl TightBoundingRect for QuadraticEvent
[src]
impl TightBoundingRect for QuadraticEvent
fn min_max(
&self,
current: &mut TypedPoint2D<f32, UnknownUnit>,
first: &mut TypedPoint2D<f32, UnknownUnit>,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
[src]
fn min_max(
&self,
current: &mut TypedPoint2D<f32, UnknownUnit>,
first: &mut TypedPoint2D<f32, UnknownUnit>,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
impl FastBoundingRect for QuadraticEvent
[src]
impl FastBoundingRect for QuadraticEvent
fn min_max(
&self,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
[src]
fn min_max(
&self,
min: &mut TypedPoint2D<f32, UnknownUnit>,
max: &mut TypedPoint2D<f32, UnknownUnit>
)
Auto Trait Implementations
impl Send for QuadraticEvent
impl Send for QuadraticEvent
impl Sync for QuadraticEvent
impl Sync for QuadraticEvent