pub enum DerivedDeclarator {
Pointer(Vec<Node<PointerQualifier>>),
Array(Node<ArrayDeclarator>),
Function(Node<FunctionDeclarator>),
KRFunction(Vec<Node<Identifier>>),
Block(Vec<Node<PointerQualifier>>),
}
Expand description
Modifies declarator type
(C11 6.7.6)
Variants§
Pointer(Vec<Node<PointerQualifier>>)
* qualifiers …
Array(Node<ArrayDeclarator>)
… []
Function(Node<FunctionDeclarator>)
… ( parameters )
KRFunction(Vec<Node<Identifier>>)
… ( identifiers )
Block(Vec<Node<PointerQualifier>>)
^ qualifiers …
Trait Implementations§
Source§impl Clone for DerivedDeclarator
impl Clone for DerivedDeclarator
Source§fn clone(&self) -> DerivedDeclarator
fn clone(&self) -> DerivedDeclarator
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 DerivedDeclarator
impl Debug for DerivedDeclarator
Source§impl PartialEq for DerivedDeclarator
impl PartialEq for DerivedDeclarator
impl StructuralPartialEq for DerivedDeclarator
Auto Trait Implementations§
impl Freeze for DerivedDeclarator
impl RefUnwindSafe for DerivedDeclarator
impl Send for DerivedDeclarator
impl Sync for DerivedDeclarator
impl Unpin for DerivedDeclarator
impl UnwindSafe for DerivedDeclarator
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