pub struct CompoundLiteral {
pub type_name: Node<TypeName>,
pub initializer_list: Vec<Node<InitializerListItem>>,
}
Expand description
Compound literal
(C11 6.5.2)
Fields§
§type_name: Node<TypeName>
§initializer_list: Vec<Node<InitializerListItem>>
Trait Implementations§
Source§impl Clone for CompoundLiteral
impl Clone for CompoundLiteral
Source§fn clone(&self) -> CompoundLiteral
fn clone(&self) -> CompoundLiteral
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 CompoundLiteral
impl Debug for CompoundLiteral
Source§impl PartialEq for CompoundLiteral
impl PartialEq for CompoundLiteral
impl StructuralPartialEq for CompoundLiteral
Auto Trait Implementations§
impl Freeze for CompoundLiteral
impl RefUnwindSafe for CompoundLiteral
impl Send for CompoundLiteral
impl Sync for CompoundLiteral
impl Unpin for CompoundLiteral
impl UnwindSafe for CompoundLiteral
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