Enum flo_animation::Vector
[−]
[src]
pub enum Vector { BrushDefinition(BrushDefinitionElement), BrushProperties(BrushPropertiesElement), BrushStroke(BrushElement), }
Possible types of vector element
Variants
BrushDefinition(BrushDefinitionElement)
Sets the brush properties for future brush strokes
BrushProperties(BrushPropertiesElement)
Brush properties for future brush strokes
BrushStroke(BrushElement)
Brush stroke vector
Methods
impl Vector
[src]
pub fn new<IntoVec: Into<Vector>>(from: IntoVec) -> Vector
[src]
Creates a new vector from an element
pub fn id(&self) -> ElementId
[src]
Trait Implementations
impl Into<Vector> for BrushElement
[src]
impl Into<Vector> for BrushPropertiesElement
[src]
impl Into<Vector> for BrushDefinitionElement
[src]
impl Clone for Vector
[src]
fn clone(&self) -> Vector
[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 Deref for Vector
[src]
type Target = VectorElement
The resulting type after dereferencing.
fn deref(&self) -> &VectorElement
[src]
Dereferences the value.