Enum wasmparser::RelocAddendKind
source · pub enum RelocAddendKind {
None,
Addend32,
Addend64,
}
Expand description
Indicates the kind of addend that applies to a relocation entry.
Variants§
None
Relocation entry does not include an addend.
Addend32
Relocation entry includes a 32-bit addend.
Addend64
Relocation entry includes a 64-bit addend.
Trait Implementations§
source§impl Clone for RelocAddendKind
impl Clone for RelocAddendKind
source§fn clone(&self) -> RelocAddendKind
fn clone(&self) -> RelocAddendKind
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 RelocAddendKind
impl Debug for RelocAddendKind
source§impl Hash for RelocAddendKind
impl Hash for RelocAddendKind
source§impl PartialEq for RelocAddendKind
impl PartialEq for RelocAddendKind
impl Copy for RelocAddendKind
impl Eq for RelocAddendKind
impl StructuralPartialEq for RelocAddendKind
Auto Trait Implementations§
impl Freeze for RelocAddendKind
impl RefUnwindSafe for RelocAddendKind
impl Send for RelocAddendKind
impl Sync for RelocAddendKind
impl Unpin for RelocAddendKind
impl UnwindSafe for RelocAddendKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.