Struct lyon_path::path_buffer::Builder[][src]

pub struct Builder<'l> { /* fields omitted */ }

A Builder that appends a path to an existing PathBuffer.

Implements the PathBuilder trait.

Implementations

impl<'l> Builder<'l>[src]

pub fn with_attributes(self, num_attributes: usize) -> BuilderWithAttributes<'l>[src]

pub fn build(self) -> usize[src]

pub fn begin(&mut self, at: Point) -> EndpointId[src]

pub fn end(&mut self, close: bool)[src]

pub fn line_to(&mut self, to: Point) -> EndpointId[src]

pub fn quadratic_bezier_to(&mut self, ctrl: Point, to: Point) -> EndpointId[src]

pub fn cubic_bezier_to(
    &mut self,
    ctrl1: Point,
    ctrl2: Point,
    to: Point
) -> EndpointId
[src]

pub fn reserve(&mut self, endpoints: usize, ctrl_points: usize)[src]

Trait Implementations

impl<'l> Build for Builder<'l>[src]

type PathType = usize

The type of object that is created by this builder.

impl<'l> PathBuilder for Builder<'l>[src]

Auto Trait Implementations

impl<'l> RefUnwindSafe for Builder<'l>

impl<'l> Send for Builder<'l>

impl<'l> Sync for Builder<'l>

impl<'l> Unpin for Builder<'l>

impl<'l> !UnwindSafe for Builder<'l>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.