pub struct SemanticModelStorage {
pub allocation: u64,
pub byte_offset: u64,
pub span_bytes: u64,
}Expand description
A producer-declared storage object within one complete backing allocation. Storage identity is its ordinal, not an address or a tensor version counter.
Fields§
§allocation: u64§byte_offset: u64§span_bytes: u64Trait Implementations§
Source§impl Clone for SemanticModelStorage
impl Clone for SemanticModelStorage
Source§fn clone(&self) -> SemanticModelStorage
fn clone(&self) -> SemanticModelStorage
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 SemanticModelStorage
impl Debug for SemanticModelStorage
impl Eq for SemanticModelStorage
Source§impl PartialEq for SemanticModelStorage
impl PartialEq for SemanticModelStorage
impl StructuralPartialEq for SemanticModelStorage
Auto Trait Implementations§
impl Freeze for SemanticModelStorage
impl RefUnwindSafe for SemanticModelStorage
impl Send for SemanticModelStorage
impl Sync for SemanticModelStorage
impl Unpin for SemanticModelStorage
impl UnsafeUnpin for SemanticModelStorage
impl UnwindSafe for SemanticModelStorage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more