pub struct LayerRole {
pub ratio: usize,
pub is_kv_source: bool,
pub is_index_source: bool,
pub is_candidate_source: bool,
pub uses_candidates: bool,
}Expand description
What one layer is, in the shared runtime.
Fields§
§ratio: usize§is_kv_source: bool§is_index_source: bool§is_candidate_source: bool§uses_candidates: boolTrait Implementations§
impl Copy for LayerRole
Auto Trait Implementations§
impl Freeze for LayerRole
impl RefUnwindSafe for LayerRole
impl Send for LayerRole
impl Sync for LayerRole
impl Unpin for LayerRole
impl UnwindSafe for LayerRole
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