pub struct Replicate { /* private fields */ }
Expand description
Replicates a transform n times.
The transforms will stack, so Replicate::n(2, Tf::x(1.0))
on some rule will result in two
invocations of the rule with Tf::x(1.0)
and Tf::x(2.0)
.
Implementations§
Trait Implementations§
Source§impl Into<TransformArgument> for Replicate
The replication will become n
transforms, corresponding to one invocation each.
impl Into<TransformArgument> for Replicate
The replication will become n
transforms, corresponding to one invocation each.
Source§fn into(self) -> TransformArgument
fn into(self) -> TransformArgument
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for Replicate
impl RefUnwindSafe for Replicate
impl Send for Replicate
impl Sync for Replicate
impl Unpin for Replicate
impl UnwindSafe for Replicate
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified
method
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.