pub enum DirectDeclarator {
Identifier(String),
Declarator(Box<Declarator>),
Array {
declarator: Box<DirectDeclarator>,
assignment_expression: Option<Expression>,
},
Function {
declarator: Box<DirectDeclarator>,
parameter_type_list: Option<ParameterTypeList>,
identifier_list: Option<Vec<String>>,
},
}Expand description
Direct declarator
Variants§
Identifier(String)
Declarator(Box<Declarator>)
Array
Function
Trait Implementations§
Source§impl Clone for DirectDeclarator
impl Clone for DirectDeclarator
Source§fn clone(&self) -> DirectDeclarator
fn clone(&self) -> DirectDeclarator
Returns a duplicate 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 DirectDeclarator
impl Debug for DirectDeclarator
Source§impl PartialEq for DirectDeclarator
impl PartialEq for DirectDeclarator
impl StructuralPartialEq for DirectDeclarator
Auto Trait Implementations§
impl Freeze for DirectDeclarator
impl RefUnwindSafe for DirectDeclarator
impl Send for DirectDeclarator
impl Sync for DirectDeclarator
impl Unpin for DirectDeclarator
impl UnwindSafe for DirectDeclarator
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