pub struct StableTransformIrNodeV0 {
pub node_id: String,
pub kind: StableTransformIrNodeKindV0,
pub kind_id: &'static str,
pub label: String,
pub semantic_key: String,
pub source_span_start: usize,
pub source_span_end: usize,
pub provenance_anchor_index: usize,
/* private fields */
}Fields§
§node_id: String§kind: StableTransformIrNodeKindV0§kind_id: &'static str§label: String§semantic_key: String§source_span_start: usize§source_span_end: usize§provenance_anchor_index: usizeImplementations§
Source§impl StableTransformIrNodeV0
impl StableTransformIrNodeV0
pub fn positional_node_id(&self) -> &str
pub fn additive_node_key(&self) -> Option<&StableNodeKeyV0>
pub fn additive_node_key_u64(&self) -> Option<StableNodeKeyU64V0>
Trait Implementations§
Source§impl Clone for StableTransformIrNodeV0
impl Clone for StableTransformIrNodeV0
Source§fn clone(&self) -> StableTransformIrNodeV0
fn clone(&self) -> StableTransformIrNodeV0
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 StableTransformIrNodeV0
impl Debug for StableTransformIrNodeV0
impl Eq for StableTransformIrNodeV0
Source§impl PartialEq for StableTransformIrNodeV0
impl PartialEq for StableTransformIrNodeV0
Source§impl Serialize for StableTransformIrNodeV0
impl Serialize for StableTransformIrNodeV0
impl StructuralPartialEq for StableTransformIrNodeV0
Auto Trait Implementations§
impl !Freeze for StableTransformIrNodeV0
impl RefUnwindSafe for StableTransformIrNodeV0
impl Send for StableTransformIrNodeV0
impl Sync for StableTransformIrNodeV0
impl Unpin for StableTransformIrNodeV0
impl UnsafeUnpin for StableTransformIrNodeV0
impl UnwindSafe for StableTransformIrNodeV0
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.