Struct ra_ap_project_model::PackageRoot
source · pub struct PackageRoot {
pub is_local: bool,
pub include: Vec<AbsPathBuf>,
pub exclude: Vec<AbsPathBuf>,
}
Expand description
PackageRoot
describes a package root folder.
Which may be an external dependency, or a member of
the current workspace.
Fields§
§is_local: bool
Is from the local filesystem and may be edited
include: Vec<AbsPathBuf>
§exclude: Vec<AbsPathBuf>
Trait Implementations§
source§impl Clone for PackageRoot
impl Clone for PackageRoot
source§fn clone(&self) -> PackageRoot
fn clone(&self) -> PackageRoot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PackageRoot
impl Debug for PackageRoot
source§impl Hash for PackageRoot
impl Hash for PackageRoot
source§impl PartialEq for PackageRoot
impl PartialEq for PackageRoot
source§fn eq(&self, other: &PackageRoot) -> bool
fn eq(&self, other: &PackageRoot) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PackageRoot
impl StructuralPartialEq for PackageRoot
Auto Trait Implementations§
impl Freeze for PackageRoot
impl RefUnwindSafe for PackageRoot
impl Send for PackageRoot
impl Sync for PackageRoot
impl Unpin for PackageRoot
impl UnwindSafe for PackageRoot
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.