pub enum SymbolDrawItem {
Line {
start: (i8, i8),
end: (i8, i8),
},
Polygon(Vec<(i8, i8)>),
Arc {
center: (i8, i8),
radius: i8,
inner_radius: i8,
start_angle: i16,
end_angle: i16,
fill: bool,
},
SetPixel((i8, i8)),
Ellipse {
center: (i8, i8),
radius: (i8, i8),
inner_radius: (i8, i8),
rotation: i16,
start_angle: i16,
end_angle: i16,
fill: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for SymbolDrawItem
impl Clone for SymbolDrawItem
Source§fn clone(&self) -> SymbolDrawItem
fn clone(&self) -> SymbolDrawItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SymbolDrawItem
impl Debug for SymbolDrawItem
Source§impl<'de> Deserialize<'de> for SymbolDrawItem
impl<'de> Deserialize<'de> for SymbolDrawItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SymbolDrawItem
impl RefUnwindSafe for SymbolDrawItem
impl Send for SymbolDrawItem
impl Sync for SymbolDrawItem
impl Unpin for SymbolDrawItem
impl UnwindSafe for SymbolDrawItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more