Enum usvg::FeImageKind
source · pub enum FeImageKind {
None,
Image(ImageData, ImageFormat),
Use(String),
}
Expand description
Kind of the feImage
data.
Variants
None
Empty image.
Unlike the image
element, feImage
can be without the href
attribute.
In this case the filter primitive is an empty canvas.
And we can’t remove it, because its result
can be used.
Image(ImageData, ImageFormat)
An image data.
Use(String)
A reference to an SVG object.
feImage
can reference any SVG object, just like use
element.
But we can’t resolve use
in this case.
Not supported yet.
Trait Implementations
sourceimpl Clone for FeImageKind
impl Clone for FeImageKind
sourcefn clone(&self) -> FeImageKind
fn clone(&self) -> FeImageKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for FeImageKind
impl Send for FeImageKind
impl Sync for FeImageKind
impl Unpin for FeImageKind
impl UnwindSafe for FeImageKind
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