Struct autd3::derive::ModulationTransform
source · pub struct ModulationTransform<M, F>{ /* private fields */ }
Implementations§
source§impl<M, F> Transform<M, F>
impl<M, F> Transform<M, F>
pub fn with_loop_behavior(self, loop_behavior: LoopBehavior) -> Transform<M, F>
Trait Implementations§
source§impl<M, F> DatagramST for Transform<M, F>
impl<M, F> DatagramST for Transform<M, F>
type G = ModulationOperationGenerator
fn operation_generator_with_segment( self, _: &Geometry, segment: Segment, transition_mode: Option<TransitionMode>, ) -> Result<<Transform<M, F> as DatagramST>::G, AUTDInternalError>
fn timeout(&self) -> Option<Duration>
fn parallel_threshold(&self) -> Option<usize>
fn trace(&self, geometry: &Geometry)
source§impl<M, F> IntoCache<Transform<M, F>> for Transform<M, F>
impl<M, F> IntoCache<Transform<M, F>> for Transform<M, F>
fn with_cache(self) -> Cache<Transform<M, F>>
source§impl<M, F> IntoRadiationPressure<Transform<M, F>> for Transform<M, F>
impl<M, F> IntoRadiationPressure<Transform<M, F>> for Transform<M, F>
fn with_radiation_pressure(self) -> RadiationPressure<Transform<M, F>>
source§impl<M, F> Modulation for Transform<M, F>
impl<M, F> Modulation for Transform<M, F>
source§impl<M, F> ModulationProperty for Transform<M, F>
impl<M, F> ModulationProperty for Transform<M, F>
fn sampling_config(&self) -> SamplingConfig
fn loop_behavior(&self) -> LoopBehavior
source§impl<M, F> WithSampling for Transform<M, F>
impl<M, F> WithSampling for Transform<M, F>
fn sampling_config_intensity(&self) -> Option<SamplingConfig>
fn sampling_config_phase(&self) -> Option<SamplingConfig>
Auto Trait Implementations§
impl<M, F> Freeze for Transform<M, F>
impl<M, F> RefUnwindSafe for Transform<M, F>where
M: RefUnwindSafe,
F: RefUnwindSafe,
impl<M, F> Send for Transform<M, F>
impl<M, F> Sync for Transform<M, F>
impl<M, F> Unpin for Transform<M, F>
impl<M, F> UnwindSafe for Transform<M, F>where
M: UnwindSafe,
F: UnwindSafe,
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<D> Datagram for Dwhere
D: DatagramST,
impl<D> Datagram for Dwhere
D: DatagramST,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
source§impl<D> IntoDatagramWithParallelThreshold<D> for Dwhere
D: Datagram,
impl<D> IntoDatagramWithParallelThreshold<D> for Dwhere
D: Datagram,
fn with_parallel_threshold( self, threshold: usize, ) -> DatagramWithParallelThreshold<D>
source§impl<D> IntoDatagramWithSegmentTransition<D> for Dwhere
D: DatagramST,
impl<D> IntoDatagramWithSegmentTransition<D> for Dwhere
D: DatagramST,
fn with_segment( self, segment: Segment, transition_mode: Option<TransitionMode>, ) -> DatagramWithSegmentTransition<D>
source§impl<D> IntoDatagramWithTimeout<D> for Dwhere
D: Datagram,
impl<D> IntoDatagramWithTimeout<D> for Dwhere
D: Datagram,
fn with_timeout(self, timeout: Duration) -> DatagramWithTimeout<D>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
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§fn to_subset_unchecked(&self) -> SS
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.