pub trait Bitfield<'a>:
Into<u64>
+ PartialEq
+ Eq
+ LowerHex
+ Debug
+ TryFromCtx<'a, Endian, Error = Error> {
// Required methods
fn is_ordinal(&self) -> bool;
fn to_ordinal(&self) -> u16;
fn to_rva(&self) -> u32;
fn size_of() -> usize;
fn is_zero(&self) -> bool;
}
Required Methods§
fn is_ordinal(&self) -> bool
fn to_ordinal(&self) -> u16
fn to_rva(&self) -> u32
fn size_of() -> usize
fn is_zero(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.