pub enum OffsetObjectKind<'a> {
VTable(DeclarationIndex),
Table(DeclarationIndex),
Vector(&'a Type),
UnionVectorTags {
declaration: DeclarationIndex,
},
UnionVector {
declaration: DeclarationIndex,
tags_offset: Option<ByteIndex>,
},
String,
Unknown,
}Variants§
VTable(DeclarationIndex)
Table(DeclarationIndex)
Vector(&'a Type)
UnionVectorTags
Fields
§
declaration: DeclarationIndexUnionVector
String
Unknown
Trait Implementations§
Source§impl<'a> Clone for OffsetObjectKind<'a>
impl<'a> Clone for OffsetObjectKind<'a>
Source§fn clone(&self) -> OffsetObjectKind<'a>
fn clone(&self) -> OffsetObjectKind<'a>
Returns a duplicate 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<'a> Debug for OffsetObjectKind<'a>
impl<'a> Debug for OffsetObjectKind<'a>
Source§impl<'a> Hash for OffsetObjectKind<'a>
impl<'a> Hash for OffsetObjectKind<'a>
Source§impl<'a> PartialEq for OffsetObjectKind<'a>
impl<'a> PartialEq for OffsetObjectKind<'a>
impl<'a> Copy for OffsetObjectKind<'a>
impl<'a> Eq for OffsetObjectKind<'a>
impl<'a> StructuralPartialEq for OffsetObjectKind<'a>
Auto Trait Implementations§
impl<'a> Freeze for OffsetObjectKind<'a>
impl<'a> RefUnwindSafe for OffsetObjectKind<'a>
impl<'a> Send for OffsetObjectKind<'a>
impl<'a> Sync for OffsetObjectKind<'a>
impl<'a> Unpin for OffsetObjectKind<'a>
impl<'a> UnwindSafe for OffsetObjectKind<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.