pub enum DirectAbstractDeclarator {
AbstractDeclarator(Box<AbstractDeclarator>),
Array {
declarator: Option<Box<DirectAbstractDeclarator>>,
assignment_expression: Option<Box<Expression>>,
},
Function {
declarator: Option<Box<DirectAbstractDeclarator>>,
parameter_type_list: Option<ParameterTypeList>,
},
}Expand description
Direct abstract declarator
Variants§
AbstractDeclarator(Box<AbstractDeclarator>)
Array
Fields
§
declarator: Option<Box<DirectAbstractDeclarator>>§
assignment_expression: Option<Box<Expression>>Function
Fields
§
declarator: Option<Box<DirectAbstractDeclarator>>§
parameter_type_list: Option<ParameterTypeList>Trait Implementations§
Source§impl Clone for DirectAbstractDeclarator
impl Clone for DirectAbstractDeclarator
Source§fn clone(&self) -> DirectAbstractDeclarator
fn clone(&self) -> DirectAbstractDeclarator
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 DirectAbstractDeclarator
impl Debug for DirectAbstractDeclarator
Source§impl PartialEq for DirectAbstractDeclarator
impl PartialEq for DirectAbstractDeclarator
impl StructuralPartialEq for DirectAbstractDeclarator
Auto Trait Implementations§
impl Freeze for DirectAbstractDeclarator
impl RefUnwindSafe for DirectAbstractDeclarator
impl Send for DirectAbstractDeclarator
impl Sync for DirectAbstractDeclarator
impl Unpin for DirectAbstractDeclarator
impl UnwindSafe for DirectAbstractDeclarator
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