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: boolIs from the local filesystem and may be edited
include: Vec<AbsPathBuf>exclude: Vec<AbsPathBuf>Trait Implementations
sourceimpl Clone for PackageRoot
impl Clone for PackageRoot
sourcefn clone(&self) -> PackageRoot
fn clone(&self) -> PackageRoot
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PackageRoot
impl Debug for PackageRoot
sourceimpl Hash for PackageRoot
impl Hash for PackageRoot
sourceimpl PartialEq<PackageRoot> for PackageRoot
impl PartialEq<PackageRoot> for PackageRoot
sourcefn eq(&self, other: &PackageRoot) -> bool
fn eq(&self, other: &PackageRoot) -> bool
impl Eq for PackageRoot
impl StructuralEq for PackageRoot
impl StructuralPartialEq for PackageRoot
Auto Trait Implementations
impl RefUnwindSafe for PackageRoot
impl Send for PackageRoot
impl Sync for PackageRoot
impl Unpin for PackageRoot
impl UnwindSafe for PackageRoot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.