pub struct TranslationUnit(pub Vec<Node<ExternalDeclaration>>);
Expand description
Entire C source file after preprocessing
(C11 6.9)
Tuple Fields§
§0: Vec<Node<ExternalDeclaration>>
Trait Implementations§
Source§impl Clone for TranslationUnit
impl Clone for TranslationUnit
Source§fn clone(&self) -> TranslationUnit
fn clone(&self) -> TranslationUnit
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 TranslationUnit
impl Debug for TranslationUnit
Source§impl PartialEq for TranslationUnit
impl PartialEq for TranslationUnit
impl StructuralPartialEq for TranslationUnit
Auto Trait Implementations§
impl Freeze for TranslationUnit
impl RefUnwindSafe for TranslationUnit
impl Send for TranslationUnit
impl Sync for TranslationUnit
impl Unpin for TranslationUnit
impl UnwindSafe for TranslationUnit
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