pub struct LexerSemanticAction {
pub rule_index: usize,
pub action_index: usize,
pub stmt: StmtId,
}Expand description
Lexer action coordinate lowered into crate::semir::SemIr.
Fields§
§rule_index: usizeSerialized lexer rule index that owns this action.
action_index: usizeAction index inside the owning rule.
stmt: StmtIdRoot statement in the associated LexerSemantics::ir arena.
Trait Implementations§
Source§impl Clone for LexerSemanticAction
impl Clone for LexerSemanticAction
Source§fn clone(&self) -> LexerSemanticAction
fn clone(&self) -> LexerSemanticAction
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 moreimpl Copy for LexerSemanticAction
Source§impl Debug for LexerSemanticAction
impl Debug for LexerSemanticAction
impl Eq for LexerSemanticAction
Source§impl PartialEq for LexerSemanticAction
impl PartialEq for LexerSemanticAction
impl StructuralPartialEq for LexerSemanticAction
Auto Trait Implementations§
impl Freeze for LexerSemanticAction
impl RefUnwindSafe for LexerSemanticAction
impl Send for LexerSemanticAction
impl Sync for LexerSemanticAction
impl Unpin for LexerSemanticAction
impl UnsafeUnpin for LexerSemanticAction
impl UnwindSafe for LexerSemanticAction
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