pub struct OffsetDesignator {
pub base: Node<Identifier>,
pub members: Vec<Node<OffsetMember>>,
}
Expand description
Offset designator in a offsetof
macro expansion
(C11 7.19 §3).
Fields§
§base: Node<Identifier>
§members: Vec<Node<OffsetMember>>
Trait Implementations§
Source§impl Clone for OffsetDesignator
impl Clone for OffsetDesignator
Source§fn clone(&self) -> OffsetDesignator
fn clone(&self) -> OffsetDesignator
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 OffsetDesignator
impl Debug for OffsetDesignator
Source§impl PartialEq for OffsetDesignator
impl PartialEq for OffsetDesignator
impl StructuralPartialEq for OffsetDesignator
Auto Trait Implementations§
impl Freeze for OffsetDesignator
impl RefUnwindSafe for OffsetDesignator
impl Send for OffsetDesignator
impl Sync for OffsetDesignator
impl Unpin for OffsetDesignator
impl UnwindSafe for OffsetDesignator
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