pub struct TaskDependencyRef {
pub name: SmolStr,
pub range: TextRange,
pub stage: usize,
}Expand description
One dependency reference parsed from a task header.
Args: None.
Returns: Dependency text and the precise source range of that reference.
Fields§
§name: SmolStr§range: TextRange§stage: usizeTrait Implementations§
Source§impl Clone for TaskDependencyRef
impl Clone for TaskDependencyRef
Source§fn clone(&self) -> TaskDependencyRef
fn clone(&self) -> TaskDependencyRef
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 TaskDependencyRef
impl Debug for TaskDependencyRef
Source§impl PartialEq for TaskDependencyRef
impl PartialEq for TaskDependencyRef
Source§fn eq(&self, other: &TaskDependencyRef) -> bool
fn eq(&self, other: &TaskDependencyRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TaskDependencyRef
impl StructuralPartialEq for TaskDependencyRef
Auto Trait Implementations§
impl Freeze for TaskDependencyRef
impl RefUnwindSafe for TaskDependencyRef
impl Send for TaskDependencyRef
impl Sync for TaskDependencyRef
impl Unpin for TaskDependencyRef
impl UnsafeUnpin for TaskDependencyRef
impl UnwindSafe for TaskDependencyRef
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