Struct ra_ap_project_model::ProjectJson [−][src]
pub struct ProjectJson { /* fields omitted */ }
Expand description
Roots and crates that compose this Rust project.
Implementations
Create a new ProjectJson instance.
Arguments
base
- The path to the workspace root (i.e. the folder containingrust-project.json
)data
- The parsed contents ofrust-project.json
, or project json that’s passed via configuration.
Returns an iterator over the crates in the project.
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 ProjectJson
impl Send for ProjectJson
impl Sync for ProjectJson
impl Unpin for ProjectJson
impl UnwindSafe for ProjectJson
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more