pub enum PatchType {
Rectangle,
Circle,
}Expand description
The kind of primitive that approximates a planar patch
Variants§
Trait Implementations§
impl Copy for PatchType
Source§impl<'de> Deserialize<'de> for PatchType
impl<'de> Deserialize<'de> for PatchType
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 Eq for PatchType
impl StructuralPartialEq for PatchType
Auto Trait Implementations§
impl Forget for PatchType
impl Freeze for PatchType
impl RefUnwindSafe for PatchType
impl Send for PatchType
impl Sync for PatchType
impl Unpin for PatchType
impl UnsafeUnpin for PatchType
impl UnwindSafe for PatchType
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