pub trait FromCommand {
// Required method
fn from_command<S>(name: S) -> Option<Self>
where Self: Sized,
S: Into<String> + Copy;
}Expand description
Add from_command trait to SemanticVersion
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".