pub struct PairDescriptor {
pub name: String,
pub emits: Vec<String>,
pub reads: Vec<ArtifactFormat>,
pub sees_beneath_settled: bool,
}Fields§
§name: String§emits: Vec<String>§reads: Vec<ArtifactFormat>Artifact formats this rule consumes pre-link to decide pairings.
This is a declared read-set, the pairing-side analogue of a parse
rule’s output. A rule that pairs nodes by their parsed content (rather
than by raw bytes, hashes, or paths) lists those formats here so the
engine knows the artifacts must be materialized on unlinked nodes before
the rule runs. Rules that read no artifacts leave this empty.
sees_beneath_settled: boolTrait Implementations§
Source§impl Clone for PairDescriptor
impl Clone for PairDescriptor
Source§fn clone(&self) -> PairDescriptor
fn clone(&self) -> PairDescriptor
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 PairDescriptor
impl Debug for PairDescriptor
Source§impl<'de> Deserialize<'de> for PairDescriptor
impl<'de> Deserialize<'de> for PairDescriptor
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
Auto Trait Implementations§
impl Freeze for PairDescriptor
impl RefUnwindSafe for PairDescriptor
impl Send for PairDescriptor
impl Sync for PairDescriptor
impl Unpin for PairDescriptor
impl UnsafeUnpin for PairDescriptor
impl UnwindSafe for PairDescriptor
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