pub struct ParseDescriptor {
pub name: String,
pub input: NodeMatch,
pub output: ArtifactFormat,
pub fires_beneath_settled: bool,
}Fields§
§name: String§input: NodeMatchThe anchor member: the required, defining node of the claim (e.g. the
.shp). This stays a plain NodeMatch so the 1-input case — the
overwhelming majority of parse rules — is unchanged. Additional members
and the correlation key for a fusing (multi-input) claim are declared on
the ParseRule trait (ParseRule::extra_members /
ParseRule::correlation), keeping the blast radius of CFM-83 off every
single-input descriptor literal.
output: ArtifactFormat§fires_beneath_settled: boolTrait Implementations§
Source§impl Clone for ParseDescriptor
impl Clone for ParseDescriptor
Source§fn clone(&self) -> ParseDescriptor
fn clone(&self) -> ParseDescriptor
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 ParseDescriptor
impl Debug for ParseDescriptor
Source§impl<'de> Deserialize<'de> for ParseDescriptor
impl<'de> Deserialize<'de> for ParseDescriptor
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 ParseDescriptor
impl RefUnwindSafe for ParseDescriptor
impl Send for ParseDescriptor
impl Sync for ParseDescriptor
impl Unpin for ParseDescriptor
impl UnsafeUnpin for ParseDescriptor
impl UnwindSafe for ParseDescriptor
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