pub struct LockedAsset {
pub name: String,
pub id: Option<u32>,
pub kind: String,
pub discriminant: u8,
pub args_hash: String,
pub payload_blob: Option<u32>,
}Expand description
One asset as recorded in the lock file
Fields§
§name: StringThe asset’s declared name.
id: Option<u32>The dense interned id the build assigned this name. Lets a process that loads the prebuilt blobs (the editor booting without an in-process cook) rebuild the name table exactly as the build interned it.
kind: StringThe asset’s registry type name.
discriminant: u8The component type’s registry tag.
args_hash: Stringsha-256 of the asset’s serialized args_bytes
payload_blob: Option<u32>which blob holds this asset’s payload, if any
Trait Implementations§
Source§impl Debug for LockedAsset
impl Debug for LockedAsset
Source§impl<'de> Deserialize<'de> for LockedAsset
impl<'de> Deserialize<'de> for LockedAsset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockedAsset
impl RefUnwindSafe for LockedAsset
impl Send for LockedAsset
impl Sync for LockedAsset
impl Unpin for LockedAsset
impl UnsafeUnpin for LockedAsset
impl UnwindSafe for LockedAsset
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
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> ⓘ
Converts
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> ⓘ
Converts
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