pub enum MaskShape {
Rectangle {
corner_radius: Animated<f32>,
},
Ellipse,
}Expand description
The outline of a ShapeMask.
Variants§
Rectangle
A rectangle, optionally with rounded corners.
Fields
Ellipse
The ellipse inscribed in the size.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MaskShape
impl<'de> Deserialize<'de> for MaskShape
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 StructuralPartialEq for MaskShape
Auto Trait Implementations§
impl Freeze for MaskShape
impl RefUnwindSafe for MaskShape
impl Send for MaskShape
impl Sync for MaskShape
impl Unpin for MaskShape
impl UnsafeUnpin for MaskShape
impl UnwindSafe for MaskShape
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