pub struct PatExpect(/* private fields */);Expand description
pat-expect = "@" labelImplementations§
Trait Implementations§
Source§impl AstNode for PatExpect
impl AstNode for PatExpect
type Language = Lang
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn can_cast(kind: <Self::Language as Language>::Kind) -> bool
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for PatExpect
impl StructuralPartialEq for PatExpect
Auto Trait Implementations§
impl !RefUnwindSafe for PatExpect
impl !Send for PatExpect
impl !Sync for PatExpect
impl !UnwindSafe for PatExpect
impl Freeze for PatExpect
impl Unpin for PatExpect
impl UnsafeUnpin for PatExpect
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