pub struct ClassRun {
pub first: u32,
pub count: u32,
pub class: PaintClass,
}Expand description
One run of consecutive instances drawn with one class’s program, as an
offset into the slice split_class_runs was handed.
Fields§
§first: u32Index of the run’s first instance within the split slice.
count: u32How many instances the run holds; never zero.
class: PaintClassThe program the run is drawn with.
Trait Implementations§
impl Copy for ClassRun
impl Eq for ClassRun
impl StructuralPartialEq for ClassRun
Auto Trait Implementations§
impl Freeze for ClassRun
impl RefUnwindSafe for ClassRun
impl Send for ClassRun
impl Sync for ClassRun
impl Unpin for ClassRun
impl UnsafeUnpin for ClassRun
impl UnwindSafe for ClassRun
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.