Trait autd3_driver::datagram::DatagramST

source ·
pub trait DatagramST {
    type G: OperationGenerator;

    // Required methods
    fn operation_generator_with_segment(
        self,
        geometry: &Geometry,
        segment: Segment,
        transition_mode: Option<TransitionMode>,
    ) -> Result<Self::G, AUTDInternalError>;
    fn timeout(&self) -> Option<Duration>;

    // Provided methods
    fn parallel_threshold(&self) -> Option<usize> { ... }
    fn trace(&self, _geometry: &Geometry) { ... }
}

Required Associated Types§

Required Methods§

source

fn operation_generator_with_segment( self, geometry: &Geometry, segment: Segment, transition_mode: Option<TransitionMode>, ) -> Result<Self::G, AUTDInternalError>

source

fn timeout(&self) -> Option<Duration>

Provided Methods§

source

fn parallel_threshold(&self) -> Option<usize>

source

fn trace(&self, _geometry: &Geometry)

Implementations on Foreign Types§

source§

impl<'a> DatagramST for Box<dyn Modulation + Send + Sync + 'a>

Implementors§

source§

impl<G: Gain> DatagramST for GainSTM<G>

§

type G = GainSTMOperationGenerator<G>

source§

impl<M: Modulation> DatagramST for Cache<M>

source§

impl<M: Modulation> DatagramST for RadiationPressure<M>

source§

impl<M: Modulation, F: Fn(usize, u8) -> u8> DatagramST for Transform<M, F>

source§

impl<const N: usize> DatagramST for FociSTM<N>

§

type G = FociSTMOperationGenerator<N>