Struct air_parser::ast::Match
source · pub struct Match<'i> {
pub left_value: ImmutableValue<'i>,
pub right_value: ImmutableValue<'i>,
pub instruction: Instruction<'i>,
}
Expand description
(match left_value right_value instruction)
Fields§
§left_value: ImmutableValue<'i>
§right_value: ImmutableValue<'i>
§instruction: Instruction<'i>
Implementations§
source§impl<'i> Match<'i>
impl<'i> Match<'i>
pub fn new( left_value: ImmutableValue<'i>, right_value: ImmutableValue<'i>, instruction: Instruction<'i>, ) -> Self
Trait Implementations§
source§impl<'i> PartialEq for Match<'i>
impl<'i> PartialEq for Match<'i>
source§impl PeerIDErrorLogable for Match<'_>
impl PeerIDErrorLogable for Match<'_>
fn log_errors_with_peer_id(&self) -> bool
impl<'i> StructuralPartialEq for Match<'i>
Auto Trait Implementations§
impl<'i> Freeze for Match<'i>
impl<'i> RefUnwindSafe for Match<'i>
impl<'i> !Send for Match<'i>
impl<'i> !Sync for Match<'i>
impl<'i> Unpin for Match<'i>
impl<'i> UnwindSafe for Match<'i>
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