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 for Command<Point> where
Point: Clone + NumPnt + Copy,
<Point as NumPnt>::Field: Copy,
[src]
impl<Point> Clone for Command<Point> where
Point: Clone + 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,
<Point as NumPnt>::Field: Copy,
<Point as NumPnt>::Coordinates: Neg,
<<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates,
[src]
impl<Point> FromIterator<Command<Point>> for Path2D<Point> where
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField,
<Point as NumPnt>::Field: Copy,
<Point as NumPnt>::Coordinates: Neg,
<<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates,
[src]pub fn from_iter<T>(commands: T) -> Path2D<Point> where
T: IntoIterator<Item = Command<Point>>,
[src]
T: IntoIterator<Item = Command<Point>>,
impl<Point> Copy for Command<Point> where
Point: Copy + NumPnt,
<Point as NumPnt>::Field: Copy,
[src]
Point: Copy + NumPnt,
<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<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[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]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]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<T> Slottable for T where
T: Copy,
[src]
T: Copy,