pub struct ExpertWeightRegion {
pub expert: usize,
pub offset: usize,
pub len: usize,
}Expand description
One expert’s contiguous byte window in an external initializer mapping.
Fields§
§expert: usize§offset: usizeAbsolute byte offset in the external-data file.
len: usizeTrait Implementations§
Source§impl Clone for ExpertWeightRegion
impl Clone for ExpertWeightRegion
Source§fn clone(&self) -> ExpertWeightRegion
fn clone(&self) -> ExpertWeightRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExpertWeightRegion
impl Debug for ExpertWeightRegion
impl Eq for ExpertWeightRegion
Source§impl PartialEq for ExpertWeightRegion
impl PartialEq for ExpertWeightRegion
impl StructuralPartialEq for ExpertWeightRegion
Auto Trait Implementations§
impl Freeze for ExpertWeightRegion
impl RefUnwindSafe for ExpertWeightRegion
impl Send for ExpertWeightRegion
impl Sync for ExpertWeightRegion
impl Unpin for ExpertWeightRegion
impl UnsafeUnpin for ExpertWeightRegion
impl UnwindSafe for ExpertWeightRegion
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