Struct ra_ap_base_db::SourceRoot [−][src]
pub struct SourceRoot { pub is_library: bool, // some fields omitted }
Fields
is_library: bool
Sysroot or crates.io library.
Libraries are considered mostly immutable, this assumption is used to optimize salsa’s query structure
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SourceRoot
impl Send for SourceRoot
impl Sync for SourceRoot
impl Unpin for SourceRoot
impl UnwindSafe for SourceRoot
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.