pub struct ConstantDeclNode { /* private fields */ }
Implementations§
Source§impl ConstantDeclNode
impl ConstantDeclNode
pub fn all_one_constant_decl_node( &self, ) -> impl Iterator<Item = OneConstantDeclNode>
pub fn const(&self) -> Option<Const>
Trait Implementations§
Source§impl AstNode for ConstantDeclNode
impl AstNode for ConstantDeclNode
Source§impl Clone for ConstantDeclNode
impl Clone for ConstantDeclNode
Source§fn clone(&self) -> ConstantDeclNode
fn clone(&self) -> ConstantDeclNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConstantDeclNode
impl Debug for ConstantDeclNode
Source§impl Hash for ConstantDeclNode
impl Hash for ConstantDeclNode
Source§impl PartialEq for ConstantDeclNode
impl PartialEq for ConstantDeclNode
impl Eq for ConstantDeclNode
impl StructuralPartialEq for ConstantDeclNode
Auto Trait Implementations§
impl Freeze for ConstantDeclNode
impl !RefUnwindSafe for ConstantDeclNode
impl !Send for ConstantDeclNode
impl !Sync for ConstantDeclNode
impl Unpin for ConstantDeclNode
impl !UnwindSafe for ConstantDeclNode
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