Enum rustc_metadata::cstore::LibSource [−][src]
pub enum LibSource { Some(PathBuf), MetadataOnly, None, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
Some(PathBuf)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
MetadataOnly
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
None
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl LibSource
[src]
impl LibSource
pub fn is_some(&self) -> bool
[src]
pub fn is_some(&self) -> bool
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
pub fn option(&self) -> Option<PathBuf>
[src]
pub fn option(&self) -> Option<PathBuf>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl PartialEq<LibSource> for LibSource
[src]
impl PartialEq<LibSource> for LibSource
fn eq(&self, other: &LibSource) -> bool
[src]
fn eq(&self, other: &LibSource) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LibSource) -> bool
[src]
fn ne(&self, other: &LibSource) -> bool
This method tests for !=
.
impl Debug for LibSource
[src]
impl Debug for LibSource
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for LibSource
[src]
impl Clone for LibSource