Trait ParameterValue
pub trait ParameterValue:
Sealed
+ Clone
+ Debug
+ Send { }Expand description
A value that can be identified and traversed inside a Param.
§Notes
This trait is intentionally sealed to keep the set of parameters closed.
Although exposed publicly, parameter values are not meant to be extensible. The closed set
includes device-backed values such as Tensor and device-independent control
values such as Flag.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".