pub trait Number {
type Output;
// Required method
fn number(&self) -> Self::Output;
}Available on crate feature
numbered only.Expand description
Trait implemented by messages with attached number.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".