pub struct BlobMeta {
pub defs: Vec<BlobAssetDef>,
pub resources: Vec<ResourceRecord>,
pub manifest: WorldManifest,
pub scene_groups: Vec<SceneGroup>,
pub mesh_bounds: Vec<MeshBoundsRecord>,
pub physics_budget: Option<PhysicsBudgetRecord>,
}Expand description
The blob’s metadata section: the component stream, the resource stream, and
the manifest summarizing them, postcard-serialized together as the block the
header’s meta_len measures. Folding everything into one block keeps the
16-byte header and every payload-offset computation
(payload_section_start, the lock’s payload_bytes) unchanged; only the
block’s contents grew. Blob 0 carries the full metadata; overflow blobs
carry an empty BlobMeta (whose default manifest is consistent with its
empty streams).
Fields§
§defs: Vec<BlobAssetDef>The component stream.
resources: Vec<ResourceRecord>The resource stream.
manifest: WorldManifestVerified summary of both streams.
scene_groups: Vec<SceneGroup>Per-scene exclusive content, in scene declaration order.
mesh_bounds: Vec<MeshBoundsRecord>Baked geometry summaries, keyed by mesh-source handle.
physics_budget: Option<PhysicsBudgetRecord>The world’s physics reservation, or None when it declares no physics.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlobMeta
impl<'de> Deserialize<'de> for BlobMeta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlobMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlobMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for BlobMeta
impl Serialize for BlobMeta
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for BlobMeta
Auto Trait Implementations§
impl Freeze for BlobMeta
impl RefUnwindSafe for BlobMeta
impl Send for BlobMeta
impl Sync for BlobMeta
impl Unpin for BlobMeta
impl UnsafeUnpin for BlobMeta
impl UnwindSafe for BlobMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().