Trait PackageSpecExt

Source
pub trait PackageSpecExt {
    // Required method
    fn is_preview(&self) -> bool;
}
Expand description

An extension trait for package specifications.

Required Methods§

Source

fn is_preview(&self) -> bool

Returns true if the package spec is in the preview namespace.

Implementations on Foreign Types§

Source§

impl PackageSpecExt for VersionlessPackageSpec

Implementors§