pub enum FilterUnits {
ObjectBoundingBox,
UserSpaceOnUse,
}Expand description
The coordinate system used to interpret filter region geometry.
§Reference
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/filterUnits
Variants§
ObjectBoundingBox
Coordinates are relative to the bounding box of the filtered element.
UserSpaceOnUse
Coordinates are interpreted in the current user coordinate system.
Trait Implementations§
Source§impl Clone for FilterUnits
impl Clone for FilterUnits
Source§fn clone(&self) -> FilterUnits
fn clone(&self) -> FilterUnits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilterUnits
impl Debug for FilterUnits
Source§impl Default for FilterUnits
impl Default for FilterUnits
Source§fn default() -> FilterUnits
fn default() -> FilterUnits
Returns the “default value” for a type. Read more
Source§impl Display for FilterUnits
impl Display for FilterUnits
Source§impl Hash for FilterUnits
impl Hash for FilterUnits
Source§impl PartialEq for FilterUnits
impl PartialEq for FilterUnits
impl Copy for FilterUnits
impl Eq for FilterUnits
impl StructuralPartialEq for FilterUnits
Auto Trait Implementations§
impl Freeze for FilterUnits
impl RefUnwindSafe for FilterUnits
impl Send for FilterUnits
impl Sync for FilterUnits
impl Unpin for FilterUnits
impl UnwindSafe for FilterUnits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.