pub struct DartParseResult {
pub dependencies: Vec<DartDependency>,
pub sdk_constraint: Option<String>,
pub uri: Uri,
}Fields§
§dependencies: Vec<DartDependency>§sdk_constraint: Option<String>§uri: UriTrait Implementations§
Source§impl Clone for DartParseResult
impl Clone for DartParseResult
Source§fn clone(&self) -> DartParseResult
fn clone(&self) -> DartParseResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DartParseResult
impl Debug for DartParseResult
Source§impl ParseResult for DartParseResult
impl ParseResult for DartParseResult
Source§fn dependencies(&self) -> Vec<&dyn Dependency>
fn dependencies(&self) -> Vec<&dyn Dependency>
All dependencies found in the manifest
Source§fn workspace_root(&self) -> Option<&Path>
fn workspace_root(&self) -> Option<&Path>
Workspace root path (for monorepo support)
Source§fn blocked_registries(&self) -> Vec<(Range, HostClass, String)>
fn blocked_registries(&self) -> Vec<(Range, HostClass, String)>
Dependency lines whose registry-index resolution was blocked by a workspace-registry
reachability policy (spec
.local/specs/023-cargo-custom-registries/plan-1b.md §1.7,
#443) — (name_range, blocked host class, raw declared value) triples, where the raw
value is the exact registry/registry-index alias or URL the dependency declared
(so two different blocked aliases render as two distinguishable messages, not one
byte-identical warning). Used by
crate::lsp_helpers::generate_diagnostics_from_cache to surface an
[tower_lsp_server::ls_types::DiagnosticSeverity::INFORMATION] diagnostic on the
blocked dependency’s line so the block never degrades silently. Read moreAuto Trait Implementations§
impl Freeze for DartParseResult
impl RefUnwindSafe for DartParseResult
impl Send for DartParseResult
impl Sync for DartParseResult
impl Unpin for DartParseResult
impl UnsafeUnpin for DartParseResult
impl UnwindSafe for DartParseResult
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