autd3_driver::datagram

Trait FociSTMGenerator

Source
pub trait FociSTMGenerator<const N: usize>: Debug {
    type T: FociSTMContextGenerator<N>;

    // Required methods
    fn init(self) -> Result<Self::T, AUTDDriverError>;
    fn len(&self) -> usize;
}
Expand description

A trait to generate the FociSTMContextGenerator.

Required Associated Types§

Source

type T: FociSTMContextGenerator<N>

The type of the context generator.

Required Methods§

Source

fn init(self) -> Result<Self::T, AUTDDriverError>

Initializes and returns the context generator.

Source

fn len(&self) -> usize

Returns the length of the sequence of foci.

Implementations on Foreign Types§

Source§

impl<const N: usize> FociSTMGenerator<N> for Vec<ControlPoints<N>>

Source§

type T = Arc<Vec<ControlPoints<N>>>

Source§

fn init(self) -> Result<Self::T, AUTDDriverError>

Source§

fn len(&self) -> usize

Implementors§