autd3_driver::datagram

Trait ModulationProperty

Source
pub trait ModulationProperty {
    // Required methods
    fn sampling_config(&self) -> SamplingConfig;
    fn loop_behavior(&self) -> LoopBehavior;
}
Expand description

A trait to get the modulation property. (This trait is automatically implemented by the Modulation derive macro.)

Required Methods§

Source

fn sampling_config(&self) -> SamplingConfig

Get the sampling configuration.

Source

fn loop_behavior(&self) -> LoopBehavior

Get the loop behavior.

Implementors§