[−][src]Struct lyon_tessellation::geometry_builder::Positions
A simple vertex constructor that just takes the position.
Trait Implementations
impl BasicVertexConstructor<Point2D<f32, UnknownUnit>> for Positions
[src]
fn new_vertex(&mut self, position: Point) -> Point
[src]
impl FillVertexConstructor<Point2D<f32, UnknownUnit>> for Positions
[src]
fn new_vertex(&mut self, position: Point, _attributes: FillAttributes) -> Point
[src]
impl StrokeVertexConstructor<Point2D<f32, UnknownUnit>> for Positions
[src]
fn new_vertex(
&mut self,
position: Point,
_attributes: StrokeAttributes
) -> Point
[src]
&mut self,
position: Point,
_attributes: StrokeAttributes
) -> Point
Auto Trait Implementations
impl RefUnwindSafe for Positions
impl Send for Positions
impl Sync for Positions
impl Unpin for Positions
impl UnwindSafe for Positions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<F, OutputVertex> BasicVertexConstructor<OutputVertex> for F where
F: Fn(Point2D<f32, UnknownUnit>) -> OutputVertex,
[src]
F: Fn(Point2D<f32, UnknownUnit>) -> OutputVertex,
fn new_vertex(&mut Self, Point2D<f32, UnknownUnit>) -> OutputVertex
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<F, OutputVertex> FillVertexConstructor<OutputVertex> for F where
F: Fn(Point2D<f32, UnknownUnit>, FillAttributes) -> OutputVertex,
[src]
F: Fn(Point2D<f32, UnknownUnit>, FillAttributes) -> OutputVertex,
fn new_vertex(
&mut Self,
Point2D<f32, UnknownUnit>,
FillAttributes
) -> OutputVertex
[src]
&mut Self,
Point2D<f32, UnknownUnit>,
FillAttributes
) -> OutputVertex
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F, OutputVertex> StrokeVertexConstructor<OutputVertex> for F where
F: Fn(Point2D<f32, UnknownUnit>, StrokeAttributes) -> OutputVertex,
[src]
F: Fn(Point2D<f32, UnknownUnit>, StrokeAttributes) -> OutputVertex,
fn new_vertex(
&mut Self,
Point2D<f32, UnknownUnit>,
StrokeAttributes
) -> OutputVertex
[src]
&mut Self,
Point2D<f32, UnknownUnit>,
StrokeAttributes
) -> OutputVertex
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,