pub trait PackageSpecExt {
// Required method
fn is_preview(&self) -> bool;
}Expand description
An extension trait for package specifications.
Required Methods§
Sourcefn is_preview(&self) -> bool
fn is_preview(&self) -> bool
Returns true if the package spec is in the preview namespace.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".