#[repr(C)]pub enum FilterPrimitiveInput {
Original,
Previous,
OutputOfPrimitiveIndex(usize),
}
Expand description
An input to a SVG filter primitive.
Variants§
Original
The input is the original graphic that the filter is being applied to.
Previous
The input is the output of the previous filter primitive in the filter primitive chain.
OutputOfPrimitiveIndex(usize)
The input is the output of the filter primitive at the given index in the filter primitive chain.
Implementations§
Trait Implementations§
Source§impl Clone for FilterPrimitiveInput
impl Clone for FilterPrimitiveInput
Source§fn clone(&self) -> FilterPrimitiveInput
fn clone(&self) -> FilterPrimitiveInput
Returns a copy 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 FilterPrimitiveInput
impl Debug for FilterPrimitiveInput
Source§impl Default for FilterPrimitiveInput
impl Default for FilterPrimitiveInput
Source§impl<'de> Deserialize<'de> for FilterPrimitiveInput
impl<'de> Deserialize<'de> for FilterPrimitiveInput
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
Source§impl Hash for FilterPrimitiveInput
impl Hash for FilterPrimitiveInput
Source§impl MallocSizeOf for FilterPrimitiveInput
impl MallocSizeOf for FilterPrimitiveInput
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for FilterPrimitiveInput
impl PartialEq for FilterPrimitiveInput
Source§impl Peek for FilterPrimitiveInput
impl Peek for FilterPrimitiveInput
Source§impl Poke for FilterPrimitiveInput
impl Poke for FilterPrimitiveInput
Source§impl Serialize for FilterPrimitiveInput
impl Serialize for FilterPrimitiveInput
impl Copy for FilterPrimitiveInput
impl Eq for FilterPrimitiveInput
impl StructuralPartialEq for FilterPrimitiveInput
Auto Trait Implementations§
impl Freeze for FilterPrimitiveInput
impl RefUnwindSafe for FilterPrimitiveInput
impl Send for FilterPrimitiveInput
impl Sync for FilterPrimitiveInput
impl Unpin for FilterPrimitiveInput
impl UnwindSafe for FilterPrimitiveInput
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