Struct flo_animation::Path [] [src]

pub struct Path {
    pub elements: Vec<PathElement>,
}

Represents a vector path

Fields

Methods

impl Path
[src]

[src]

Creates a new, empty path

[src]

Creates a path from an elements iterator

[src]

Creates a path from a drawing iterator

Trait Implementations

impl Clone for Path
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Vec<PathElement>> for Path
[src]

[src]

Performs the conversion.

impl From<Vec<Draw>> for Path
[src]

Converts a drawing into a path (ignoring all the parts of a drawing that cannot be simply converted)

[src]

Performs the conversion.

impl<'a> Into<Vec<Draw>> for &'a Path
[src]

Converts a path into a drawing

[src]

Performs the conversion.

impl<'a> From<&'a Path> for Rect
[src]

Paths can be converted into bounding boxes

[src]

Performs the conversion.

impl From<Path> for Rect
[src]

[src]

Performs the conversion.

impl HasBoundingBox for Path
[src]

[src]

Retrieves the bounding box for this element Read more

Auto Trait Implementations

impl Send for Path

impl Sync for Path