#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)