pub struct CompiledAsset {
pub mesh: Mesh,
pub container_10d: Vec<u8>,
pub compiled_digest: u32,
pub source_digest: u32,
pub quins: Vec<NQuin>,
pub lexicon: HashMap<u64, String>,
}Expand description
A fully compiled geometry asset: the source-imported Mesh, the sealed .10d
container, its two content digests, and the q42 semantic manifest that cites the
container by compiledDigest (geometry-asset-ontology §1 two-layer model).
This is the whole “GLB → .10d + manifest” pipeline output. The container_10d
bytes are the on-disk sidecar; quins/lexicon are the portable q42 facts that
travel in the graph and point at the container by hash.
Fields§
§mesh: MeshThe imported triangle mesh (positions + indices + bbox).
container_10d: Vec<u8>The sealed .10d container (dense compiled geometry).
compiled_digest: u32Whole-file CRC-32C of container_10d — the manifest’s compiledDigest.
source_digest: u32CRC-32C of the immutable source bytes — the manifest’s sourceDigest.
quins: Vec<NQuin>The q42 manifest facts, including both digests (via [mesh_to_nquins_with_digests]).
lexicon: HashMap<u64, String>Object-lexicon for the string-valued facts in quins.
Trait Implementations§
Source§impl Clone for CompiledAsset
impl Clone for CompiledAsset
Source§fn clone(&self) -> CompiledAsset
fn clone(&self) -> CompiledAsset
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CompiledAsset
impl RefUnwindSafe for CompiledAsset
impl Send for CompiledAsset
impl Sync for CompiledAsset
impl Unpin for CompiledAsset
impl UnsafeUnpin for CompiledAsset
impl UnwindSafe for CompiledAsset
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more