pub struct DependencyClosureReferenceV1 { /* private fields */ }Expand description
One source-order declaration-to-content mapping.
Implementations§
Source§impl DependencyClosureReferenceV1
impl DependencyClosureReferenceV1
Sourcepub const fn source_order_index(&self) -> usize
pub const fn source_order_index(&self) -> usize
Deterministic source declaration order.
Sourcepub const fn kind(&self) -> SourceResourceKindV1
pub const fn kind(&self) -> SourceResourceKindV1
Source declaration kind.
Sourcepub const fn purpose(&self) -> DependencyResourcePurposeV1
pub const fn purpose(&self) -> DependencyResourcePurposeV1
Format-neutral consumer purpose authoritatively derived from Self::kind.
Sourcepub const fn source_index(&self) -> u64
pub const fn source_index(&self) -> u64
Stable source/parser declaration index.
Sourcepub const fn target(&self) -> &DependencyReferenceTargetV1
pub const fn target(&self) -> &DependencyReferenceTargetV1
Captured/refused/unavailable mapping outcome.
Trait Implementations§
Source§impl Clone for DependencyClosureReferenceV1
impl Clone for DependencyClosureReferenceV1
Source§fn clone(&self) -> DependencyClosureReferenceV1
fn clone(&self) -> DependencyClosureReferenceV1
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 DependencyClosureReferenceV1
impl Debug for DependencyClosureReferenceV1
Source§impl<'de> Deserialize<'de> for DependencyClosureReferenceV1
impl<'de> Deserialize<'de> for DependencyClosureReferenceV1
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DependencyClosureReferenceV1
impl StructuralPartialEq for DependencyClosureReferenceV1
Auto Trait Implementations§
impl Freeze for DependencyClosureReferenceV1
impl RefUnwindSafe for DependencyClosureReferenceV1
impl Send for DependencyClosureReferenceV1
impl Sync for DependencyClosureReferenceV1
impl Unpin for DependencyClosureReferenceV1
impl UnsafeUnpin for DependencyClosureReferenceV1
impl UnwindSafe for DependencyClosureReferenceV1
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