pub struct Declaration {
pub specifiers: Vec<Node<DeclarationSpecifier>>,
pub declarators: Vec<Node<InitDeclarator>>,
}
Expand description
Variable, function or type declaration
(C11 6.7)
Fields§
§specifiers: Vec<Node<DeclarationSpecifier>>
§declarators: Vec<Node<InitDeclarator>>
Trait Implementations§
Source§impl Clone for Declaration
impl Clone for Declaration
Source§fn clone(&self) -> Declaration
fn clone(&self) -> Declaration
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 Declaration
impl Debug for Declaration
Source§impl PartialEq for Declaration
impl PartialEq for Declaration
impl StructuralPartialEq for Declaration
Auto Trait Implementations§
impl Freeze for Declaration
impl RefUnwindSafe for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Unpin for Declaration
impl UnwindSafe for Declaration
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