Enum pixels_graphics_lib::prelude::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<DrawType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DrawType, <__D as Deserializer<'de>>::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
source§impl Serialize for DrawType
impl Serialize for DrawType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
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.