pub enum CaseLabel {
Case(ConstExpr),
Default,
}Variants§
Trait Implementations§
Source§impl<'a> FromTreeSitter<'a> for CaseLabel
impl<'a> FromTreeSitter<'a> for CaseLabel
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for CaseLabel
impl RefUnwindSafe for CaseLabel
impl Send for CaseLabel
impl Sync for CaseLabel
impl Unpin for CaseLabel
impl UnsafeUnpin for CaseLabel
impl UnwindSafe for CaseLabel
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