pub enum MemoryRole {
KvCache,
Workspace {
step_scoped: bool,
},
Weights,
Activation,
}Expand description
What a reservation is for.
Variants§
Trait Implementations§
Source§impl Clone for MemoryRole
impl Clone for MemoryRole
Source§fn clone(&self) -> MemoryRole
fn clone(&self) -> MemoryRole
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 MemoryRole
Source§impl Debug for MemoryRole
impl Debug for MemoryRole
impl Eq for MemoryRole
Source§impl Hash for MemoryRole
impl Hash for MemoryRole
Source§impl PartialEq for MemoryRole
impl PartialEq for MemoryRole
impl StructuralPartialEq for MemoryRole
Auto Trait Implementations§
impl Freeze for MemoryRole
impl RefUnwindSafe for MemoryRole
impl Send for MemoryRole
impl Sync for MemoryRole
impl Unpin for MemoryRole
impl UnsafeUnpin for MemoryRole
impl UnwindSafe for MemoryRole
Blanket Implementations§
impl<T> BindingResource 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