pub enum OffsetMember {
Member(Node<Identifier>),
IndirectMember(Node<Identifier>),
Index(Node<Expression>),
}
Expand description
Single element of an offset designator
(C11 7.19 §3).
Variants§
Trait Implementations§
Source§impl Clone for OffsetMember
impl Clone for OffsetMember
Source§fn clone(&self) -> OffsetMember
fn clone(&self) -> OffsetMember
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 OffsetMember
impl Debug for OffsetMember
Source§impl PartialEq for OffsetMember
impl PartialEq for OffsetMember
impl StructuralPartialEq for OffsetMember
Auto Trait Implementations§
impl Freeze for OffsetMember
impl RefUnwindSafe for OffsetMember
impl Send for OffsetMember
impl Sync for OffsetMember
impl Unpin for OffsetMember
impl UnwindSafe for OffsetMember
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