pub trait Mask:
Copy
+ PartialEq
+ Debug {
// Required methods
fn none() -> Self;
fn first(n: usize) -> Self;
fn has(self, lane: usize) -> bool;
fn insert(&mut self, lane: usize);
fn remove(&mut self, lane: usize);
fn and(self, other: Self) -> Self;
fn or(self, other: Self) -> Self;
fn minus(self, other: Self) -> Self;
fn is_empty(self) -> bool;
}Expand description
A set of the lanes of a run.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".