pub struct SemanticTrainingViewLayout {
pub window: usize,
pub source_length: u64,
pub block_size: u64,
pub prefix_extent: u64,
pub answer_start: u64,
pub branch_words: [u64; 16],
}Expand description
Validated geometry of the bytes consumed by native training-view selection.
Fields§
§window: usize§source_length: u64§block_size: u64§prefix_extent: u64§answer_start: u64§branch_words: [u64; 16]Trait Implementations§
Source§impl Clone for SemanticTrainingViewLayout
impl Clone for SemanticTrainingViewLayout
Source§fn clone(&self) -> SemanticTrainingViewLayout
fn clone(&self) -> SemanticTrainingViewLayout
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 moreimpl Copy for SemanticTrainingViewLayout
Auto Trait Implementations§
impl Freeze for SemanticTrainingViewLayout
impl RefUnwindSafe for SemanticTrainingViewLayout
impl Send for SemanticTrainingViewLayout
impl Sync for SemanticTrainingViewLayout
impl Unpin for SemanticTrainingViewLayout
impl UnsafeUnpin for SemanticTrainingViewLayout
impl UnwindSafe for SemanticTrainingViewLayout
Blanket Implementations§
impl<T> Allocation for T
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