pub struct FunctionDef(/* private fields */);Expand description
A function definition f[x \in S] == e.
Implementations§
Source§impl FunctionDef
impl FunctionDef
Trait Implementations§
Source§impl AstNode for FunctionDef
impl AstNode for FunctionDef
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
Source§impl Clone for FunctionDef
impl Clone for FunctionDef
Source§impl Debug for FunctionDef
impl Debug for FunctionDef
impl Eq for FunctionDef
Source§impl Hash for FunctionDef
impl Hash for FunctionDef
Source§impl PartialEq for FunctionDef
impl PartialEq for FunctionDef
impl StructuralPartialEq for FunctionDef
Auto Trait Implementations§
impl !RefUnwindSafe for FunctionDef
impl !Send for FunctionDef
impl !Sync for FunctionDef
impl !UnwindSafe for FunctionDef
impl Forget for FunctionDef
impl Freeze for FunctionDef
impl Move for FunctionDef
impl Unpin for FunctionDef
impl UnsafeUnpin for FunctionDef
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