pub struct AstMatchBranch {
pub pattern: AstPattern,
pub result_type: AstTypeExpr,
pub span: Option<Span>,
}Fields§
§pattern: AstPattern§result_type: AstTypeExpr§span: Option<Span>Trait Implementations§
Source§impl Clone for AstMatchBranch
impl Clone for AstMatchBranch
Source§fn clone(&self) -> AstMatchBranch
fn clone(&self) -> AstMatchBranch
Returns a duplicate of the value. Read more
1.0.0 · 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 AstMatchBranch
impl Debug for AstMatchBranch
Source§impl PartialEq for AstMatchBranch
impl PartialEq for AstMatchBranch
impl StructuralPartialEq for AstMatchBranch
Auto Trait Implementations§
impl Freeze for AstMatchBranch
impl RefUnwindSafe for AstMatchBranch
impl Send for AstMatchBranch
impl Sync for AstMatchBranch
impl Unpin for AstMatchBranch
impl UnsafeUnpin for AstMatchBranch
impl UnwindSafe for AstMatchBranch
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