pub struct ConstItem(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AstNode for ConstItem
impl AstNode for ConstItem
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Auto Trait Implementations§
impl Freeze for ConstItem
impl !RefUnwindSafe for ConstItem
impl !Send for ConstItem
impl !Sync for ConstItem
impl Unpin for ConstItem
impl !UnwindSafe for ConstItem
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