Enum buffer_graphics_lib::drawable::DrawType
source · 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
source§impl PartialEq<DrawType> for DrawType
impl PartialEq<DrawType> for DrawType
impl Copy for DrawType
impl Eq for DrawType
impl StructuralEq for DrawType
impl StructuralPartialEq for DrawType
Auto Trait Implementations§
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