pub struct DependsOn {
pub paths: Vec<String>,
pub span: Span,
}Expand description
A parsed depends_on block for one table scope
(spec/linter.md §2).
Fields§
§paths: Vec<String>Declared dependency paths, dotted from the document root.
span: SpanThe depends_on key’s span (diagnostics).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DependsOn
impl RefUnwindSafe for DependsOn
impl Send for DependsOn
impl Sync for DependsOn
impl Unpin for DependsOn
impl UnsafeUnpin for DependsOn
impl UnwindSafe for DependsOn
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