Trait PackageSpecExt

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

An extension trait for package specifications.

Required Methods§

fn is_preview(&self) -> bool

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

Implementations on Foreign Types§

§

impl PackageSpecExt for VersionlessPackageSpec

§

fn is_preview(&self) -> bool

Implementors§