Struct flo_animation::BrushPoint
[−]
[src]
pub struct BrushPoint { pub position: (f32, f32), pub cp1: (f32, f32), pub cp2: (f32, f32), pub width: f32, }
Represents a segment of a brush stroke
Fields
position: (f32, f32)
Position of this segment
cp1: (f32, f32)
First control point for this segment
cp2: (f32, f32)
Second control point for this segment
width: f32
Width of this segment
Trait Implementations
impl Clone for BrushPoint
[src]
fn clone(&self) -> BrushPoint
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for BrushPoint
[src]
impl PartialEq for BrushPoint
[src]
fn eq(&self, __arg_0: &BrushPoint) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BrushPoint) -> bool
[src]
This method tests for !=
.