Trait EngineBitfield
pub trait EngineBitfield: Copy {
// Required methods
fn try_from_ord(ord: u64) -> Option<Self>;
fn ord(self) -> u64;
// Provided methods
fn from_ord(ord: u64) -> Self { ... }
fn is_set(self, flag: Self) -> bool { ... }
}
Expand description
Auto-implemented for all engine-provided bitfields.
Required Methods§
fn try_from_ord(ord: u64) -> Option<Self>
Provided Methods§
Object Safety§
This trait is not object safe.