Struct autd3_driver::datagram::ModulationCache
source · pub struct ModulationCache<M: Modulation> { /* private fields */ }Implementations§
source§impl<M: Modulation> Cache<M>
impl<M: Modulation> Cache<M>
pub fn with_loop_behavior(self, loop_behavior: LoopBehavior) -> Self
Trait Implementations§
source§impl<M: Modulation> DatagramST for Cache<M>
impl<M: Modulation> DatagramST for Cache<M>
type G = ModulationOperationGenerator
fn operation_generator_with_segment( self, _: &Geometry, segment: Segment, transition_mode: Option<TransitionMode>, ) -> Result<Self::G, AUTDInternalError>
fn timeout(&self) -> Option<Duration>
fn parallel_threshold(&self) -> Option<usize>
fn trace(&self, geometry: &Geometry)
source§impl<M: Modulation> Deref for Cache<M>
impl<M: Modulation> Deref for Cache<M>
source§impl<M: Modulation> Modulation for Cache<M>
impl<M: Modulation> Modulation for Cache<M>
source§impl<M: Modulation> ModulationProperty for Cache<M>
impl<M: Modulation> ModulationProperty for Cache<M>
fn sampling_config(&self) -> SamplingConfig
fn loop_behavior(&self) -> LoopBehavior
Auto Trait Implementations§
impl<M> Freeze for Cache<M>where
M: Freeze,
impl<M> !RefUnwindSafe for Cache<M>
impl<M> !Send for Cache<M>
impl<M> !Sync for Cache<M>
impl<M> Unpin for Cache<M>where
M: Unpin,
impl<M> !UnwindSafe for Cache<M>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.