pub struct BlockKey {
pub tensor_id: u128,
pub block_index: u32,
}Expand description
Unique identifier for a tensor block.
Composed of the owning tensor’s 128-bit ID and a block index within that tensor, allowing fine-grained block-level storage and retrieval.
Fields§
§tensor_id: u128§block_index: u32Trait Implementations§
impl Copy for BlockKey
impl Eq for BlockKey
impl StructuralPartialEq for BlockKey
Auto Trait Implementations§
impl Freeze for BlockKey
impl RefUnwindSafe for BlockKey
impl Send for BlockKey
impl Sync for BlockKey
impl Unpin for BlockKey
impl UnsafeUnpin for BlockKey
impl UnwindSafe for BlockKey
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