pub struct InitValue { /* private fields */ }Expand description
A InitValue node (family.ungram rule InitValue).
Implementations§
Trait Implementations§
Source§impl AstNode for InitValue
impl AstNode for InitValue
Source§fn cast(syntax: SyntaxNode) -> Option<Self>
fn cast(syntax: SyntaxNode) -> Option<Self>
Wraps
syntax if its kind matches this type; None otherwise.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying untyped node.
impl Eq for InitValue
impl StructuralPartialEq for InitValue
Auto Trait Implementations§
impl !RefUnwindSafe for InitValue
impl !Send for InitValue
impl !Sync for InitValue
impl !UnwindSafe for InitValue
impl Freeze for InitValue
impl Unpin for InitValue
impl UnsafeUnpin for InitValue
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