Enum pixels_graphics_lib::prelude::polyline::Segment
source · pub enum Segment {
Start(Coord),
LineTo(Coord),
ArcAround {
center: Coord,
angle_start: isize,
angle_end: isize,
radius: usize,
},
}
Variants§
Trait Implementations§
source§impl PartialEq<Segment> for Segment
impl PartialEq<Segment> for Segment
impl Copy for Segment
impl Eq for Segment
impl StructuralEq for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.