pub trait Sample:
Copy
+ Send
+ Sync
+ 'static {
// Required methods
fn to_f32(self) -> f32;
fn from_mean(v: f32) -> Self;
}Expand description
Sample types the opcodes run on: f32 for every opcode, u16 (stored integer values)
for the lists apply_u16 accepts.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".