pub enum NodeTextOriginV0 {
Original {
source_id: String,
source_span_start: usize,
source_span_end: usize,
},
Synthesized {
pass_id: String,
parent_node_ids: Vec<IrNodeIdV0>,
},
}Variants§
Implementations§
Source§impl NodeTextOriginV0
impl NodeTextOriginV0
pub const fn is_original(&self) -> bool
Trait Implementations§
Source§impl Clone for NodeTextOriginV0
impl Clone for NodeTextOriginV0
Source§fn clone(&self) -> NodeTextOriginV0
fn clone(&self) -> NodeTextOriginV0
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 NodeTextOriginV0
impl Debug for NodeTextOriginV0
impl Eq for NodeTextOriginV0
Source§impl PartialEq for NodeTextOriginV0
impl PartialEq for NodeTextOriginV0
Source§impl Serialize for NodeTextOriginV0
impl Serialize for NodeTextOriginV0
impl StructuralPartialEq for NodeTextOriginV0
Auto Trait Implementations§
impl Freeze for NodeTextOriginV0
impl RefUnwindSafe for NodeTextOriginV0
impl Send for NodeTextOriginV0
impl Sync for NodeTextOriginV0
impl Unpin for NodeTextOriginV0
impl UnsafeUnpin for NodeTextOriginV0
impl UnwindSafe for NodeTextOriginV0
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.