pub struct TransformIrV0 {Show 13 fields
pub schema_version: &'static str,
pub product: &'static str,
pub source_id: String,
pub dialect: &'static str,
pub source_byte_len: usize,
pub parser_error_count: usize,
pub parse_error_spans: Vec<TransformIrParseErrorSpanV0>,
pub root_nodes: Vec<IrNodeIdV0>,
pub nodes: Vec<IrNodeV0>,
pub origins: Vec<NodeTextOriginV0>,
pub indexes: TransformIrIndexesV0,
pub original_node_count: usize,
pub synthesized_node_count: usize,
/* private fields */
}Fields§
§schema_version: &'static str§product: &'static str§source_id: String§dialect: &'static str§source_byte_len: usize§parser_error_count: usize§parse_error_spans: Vec<TransformIrParseErrorSpanV0>§root_nodes: Vec<IrNodeIdV0>§nodes: Vec<IrNodeV0>§origins: Vec<NodeTextOriginV0>§indexes: TransformIrIndexesV0§original_node_count: usize§synthesized_node_count: usizeImplementations§
Source§impl TransformIrV0
impl TransformIrV0
pub const fn ir_epoch(&self) -> u64
pub fn all_nodes_original(&self) -> bool
pub fn source_text(&self) -> &str
pub fn structural_block_spans(&self) -> &[IrBlockSpanV0]
Trait Implementations§
Source§impl Clone for TransformIrV0
impl Clone for TransformIrV0
Source§fn clone(&self) -> TransformIrV0
fn clone(&self) -> TransformIrV0
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 TransformIrV0
impl Debug for TransformIrV0
impl Eq for TransformIrV0
Source§impl PartialEq for TransformIrV0
impl PartialEq for TransformIrV0
Source§impl Serialize for TransformIrV0
impl Serialize for TransformIrV0
impl StructuralPartialEq for TransformIrV0
Auto Trait Implementations§
impl Freeze for TransformIrV0
impl RefUnwindSafe for TransformIrV0
impl Send for TransformIrV0
impl Sync for TransformIrV0
impl Unpin for TransformIrV0
impl UnsafeUnpin for TransformIrV0
impl UnwindSafe for TransformIrV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.