cosmic::iced::advanced::graphics::geometry::path::lyon_path::builder

Trait Build

source
pub trait Build {
    type PathType;

    // Required method
    fn build(self) -> Self::PathType;
}
Expand description

Builds a path.

This trait is separate from PathBuilder and SvgPathBuilder to allow them to be used as trait object (which isn’t possible when a method returns an associated type).

Required Associated Types§

source

type PathType

The type of object that is created by this builder.

Required Methods§

source

fn build(self) -> Self::PathType

Builds a path object, consuming the builder.

Implementors§

source§

impl Build for BuilderImpl

source§

impl Build for cosmic::iced_winit::graphics::geometry::path::lyon_path::BuilderWithAttributes

source§

impl<'l> Build for Builder<'l>

source§

impl<'l> Build for cosmic::iced_winit::graphics::geometry::path::lyon_path::path_buffer::BuilderWithAttributes<'l>

source§

impl<B> Build for NoAttributes<B>
where B: PathBuilder + Build,

source§

impl<Builder> Build for Flattened<Builder>
where Builder: Build,

source§

type PathType = <Builder as Build>::PathType

source§

impl<Builder> Build for WithSvg<Builder>
where Builder: PathBuilder + Build,

source§

type PathType = <Builder as Build>::PathType

source§

impl<Builder, Transform> Build for Transformed<Builder, Transform>
where Builder: Build,

source§

type PathType = <Builder as Build>::PathType