pub struct MaskProps {
pub inverted: bool,
pub shape: ShapeKind,
}Fields§
§inverted: bool§shape: ShapeKindThe actual vector geometry of the mask.
Defaults to an empty path so legacy documents deserialize safely.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MaskProps
impl<'de> Deserialize<'de> for MaskProps
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
Auto Trait Implementations§
impl Freeze for MaskProps
impl RefUnwindSafe for MaskProps
impl Send for MaskProps
impl Sync for MaskProps
impl Unpin for MaskProps
impl UnsafeUnpin for MaskProps
impl UnwindSafe for MaskProps
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