pub enum DrawType {
Stroke(Color),
Fill(Color),
}
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DrawType
impl<'de> Deserialize<'de> for DrawType
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
impl Copy for DrawType
impl Eq for DrawType
impl StructuralPartialEq for DrawType
Auto Trait Implementations§
impl Freeze for DrawType
impl RefUnwindSafe for DrawType
impl Send for DrawType
impl Sync for DrawType
impl Unpin for DrawType
impl UnwindSafe for DrawType
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