pub trait BezierDefault: Default {
// Provided method
fn bezier_default() -> Self { ... }
}Expand description
Default bezier tangent values are all zeroes. This trait implements the constructors for those values. only I32Color needs to implement this manually, since volume (i32) and Position are already all zeroes in their default values.
Provided Methods§
fn bezier_default() -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.