pub struct ExpertWork {
pub expert: u16,
pub row_off: u32,
pub rows: u32,
}Expand description
One expert’s contiguous sorted-row range (the grouped-GEMM row block for
that expert). rows == 0 experts are dropped by the planner.
Fields§
§expert: u16§row_off: u32§rows: u32Trait Implementations§
Source§impl Clone for ExpertWork
impl Clone for ExpertWork
Source§fn clone(&self) -> ExpertWork
fn clone(&self) -> ExpertWork
Returns a duplicate 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 ExpertWork
impl Debug for ExpertWork
Source§impl PartialEq for ExpertWork
impl PartialEq for ExpertWork
impl Copy for ExpertWork
impl Eq for ExpertWork
impl StructuralPartialEq for ExpertWork
Auto Trait Implementations§
impl Freeze for ExpertWork
impl RefUnwindSafe for ExpertWork
impl Send for ExpertWork
impl Sync for ExpertWork
impl Unpin for ExpertWork
impl UnwindSafe for ExpertWork
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.