Enum rin_graphics::path::Command [−][src]
pub enum Command<Point> where
Point: NumPnt + Copy,
<Point as NumPnt>::Field: Copy, { Move { to: Point, }, Line { to: Point, }, Bezier { cp1: Point, cp2: Point, to: Point, }, QuadBezier { cp1: Point, to: Point, }, CatmullRom { to: Point, }, Arc { center: Point, init_angle: Deg<<Point as NumPnt>::Field>, angle: Deg<<Point as NumPnt>::Field>, w: <Point as NumPnt>::Field, h: <Point as NumPnt>::Field, }, Close, }
Variants
Show fields
Trait Implementations
impl<Point: Clone> Clone for Command<Point> where
Point: NumPnt + Copy,
<Point as NumPnt>::Field: Copy,
[src]
impl<Point: Clone> Clone for Command<Point> where
Point: NumPnt + Copy,
<Point as NumPnt>::Field: Copy,
[src]impl<Point> FromIterator<Command<Point>> for Path2D<Point> where
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField + Copy,
<Point as NumPnt>::Coordinates: Neg<Output = <Point as NumPnt>::Coordinates>,
[src]
impl<Point> FromIterator<Command<Point>> for Path2D<Point> where
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField + Copy,
<Point as NumPnt>::Coordinates: Neg<Output = <Point as NumPnt>::Coordinates>,
[src]fn from_iter<T>(commands: T) -> Self where
T: IntoIterator<Item = Command<Point>>,
[src]
T: IntoIterator<Item = Command<Point>>,
impl<Point: Copy> Copy for Command<Point> where
Point: NumPnt + Copy,
<Point as NumPnt>::Field: Copy,
[src]
Point: NumPnt + Copy,
<Point as NumPnt>::Field: Copy,
Auto Trait Implementations
impl<Point> RefUnwindSafe for Command<Point> where
Point: RefUnwindSafe,
<Point as NumPnt>::Field: RefUnwindSafe,
Point: RefUnwindSafe,
<Point as NumPnt>::Field: RefUnwindSafe,
impl<Point> Send for Command<Point> where
Point: Send,
<Point as NumPnt>::Field: Send,
Point: Send,
<Point as NumPnt>::Field: Send,
impl<Point> Sync for Command<Point> where
Point: Sync,
<Point as NumPnt>::Field: Sync,
Point: Sync,
<Point as NumPnt>::Field: Sync,
impl<Point> Unpin for Command<Point> where
Point: Unpin,
<Point as NumPnt>::Field: Unpin,
Point: Unpin,
<Point as NumPnt>::Field: Unpin,
impl<Point> UnwindSafe for Command<Point> where
Point: UnwindSafe,
<Point as NumPnt>::Field: UnwindSafe,
Point: UnwindSafe,
<Point as NumPnt>::Field: UnwindSafe,
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]