pub struct StructDeclarator {
pub declarator: Option<Node<Declarator>>,
pub bit_width: Option<Box<Node<Expression>>>,
}
Expand description
Field declarator for a struct or a union
(C11 6.7.2.1)
Fields§
§declarator: Option<Node<Declarator>>
§bit_width: Option<Box<Node<Expression>>>
Trait Implementations§
Source§impl Clone for StructDeclarator
impl Clone for StructDeclarator
Source§fn clone(&self) -> StructDeclarator
fn clone(&self) -> StructDeclarator
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 StructDeclarator
impl Debug for StructDeclarator
Source§impl PartialEq for StructDeclarator
impl PartialEq for StructDeclarator
impl StructuralPartialEq for StructDeclarator
Auto Trait Implementations§
impl Freeze for StructDeclarator
impl RefUnwindSafe for StructDeclarator
impl Send for StructDeclarator
impl Sync for StructDeclarator
impl Unpin for StructDeclarator
impl UnwindSafe for StructDeclarator
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