pub struct Mask {
pub id: String,
pub units: Units,
pub content_units: Units,
pub rect: Rect,
pub mask: Option<String>,
}Expand description
A mask element.
mask element in SVG.
Fields
id: StringElement’s ID.
Taken from the SVG itself. Can’t be empty.
units: UnitsCoordinate system units.
maskUnits in SVG.
content_units: UnitsContent coordinate system units.
maskContentUnits in SVG.
rect: RectMask rectangle.
x, y, width and height in SVG.
mask: Option<String>Additional mask.
mask in SVG.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mask
impl Send for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnwindSafe for Mask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more