#[repr(C)]pub struct SemanticModelContractLayout {
pub schema_begin: u64,
pub schema_bytes: u64,
pub schema_digest_offset: u64,
pub generation_offset: u64,
pub numerical_digest_offset: u64,
pub identity_offset: u64,
}Expand description
Byte spans in the producer’s one ModelContract record. The native owner hashes the immutable schema bytes without interpreting their format, then binds them to the actual model generation and device numerical identity. Digest fields are raw 32 bytes; generation is an unaligned little-endian u64.
Fields§
§schema_begin: u64§schema_bytes: u64§schema_digest_offset: u64§generation_offset: u64§numerical_digest_offset: u64§identity_offset: u64Trait Implementations§
Source§impl Clone for SemanticModelContractLayout
impl Clone for SemanticModelContractLayout
Source§fn clone(&self) -> SemanticModelContractLayout
fn clone(&self) -> SemanticModelContractLayout
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 SemanticModelContractLayout
Source§impl Debug for SemanticModelContractLayout
impl Debug for SemanticModelContractLayout
Source§impl Default for SemanticModelContractLayout
impl Default for SemanticModelContractLayout
Source§fn default() -> SemanticModelContractLayout
fn default() -> SemanticModelContractLayout
Returns the “default value” for a type. Read more
impl Eq for SemanticModelContractLayout
impl StructuralPartialEq for SemanticModelContractLayout
Auto Trait Implementations§
impl Freeze for SemanticModelContractLayout
impl RefUnwindSafe for SemanticModelContractLayout
impl Send for SemanticModelContractLayout
impl Sync for SemanticModelContractLayout
impl Unpin for SemanticModelContractLayout
impl UnsafeUnpin for SemanticModelContractLayout
impl UnwindSafe for SemanticModelContractLayout
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