pub struct IrRuleCaseBranch {
pub scrutinee: String,
pub scrutinee_type: IrType,
pub pattern: IrCasePattern,
pub guard: Option<IrExpression>,
pub body_hash: String,
pub pattern_span: SourceSpan,
}Fields§
§scrutinee: String§scrutinee_type: IrType§pattern: IrCasePattern§guard: Option<IrExpression>§body_hash: String§pattern_span: SourceSpanTrait Implementations§
Source§impl Clone for IrRuleCaseBranch
impl Clone for IrRuleCaseBranch
Source§fn clone(&self) -> IrRuleCaseBranch
fn clone(&self) -> IrRuleCaseBranch
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 IrRuleCaseBranch
impl Debug for IrRuleCaseBranch
impl Eq for IrRuleCaseBranch
Source§impl PartialEq for IrRuleCaseBranch
impl PartialEq for IrRuleCaseBranch
impl StructuralPartialEq for IrRuleCaseBranch
Auto Trait Implementations§
impl Freeze for IrRuleCaseBranch
impl RefUnwindSafe for IrRuleCaseBranch
impl Send for IrRuleCaseBranch
impl Sync for IrRuleCaseBranch
impl Unpin for IrRuleCaseBranch
impl UnsafeUnpin for IrRuleCaseBranch
impl UnwindSafe for IrRuleCaseBranch
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