Struct bones_asset::SchemaPtrLoadCtx
source · pub struct SchemaPtrLoadCtx<'a, 'srv, 'ptr> {
pub ctx: &'a mut MetaAssetLoadCtx<'srv>,
pub ptr: SchemaRefMut<'ptr>,
}
Expand description
The load context for a SchemaRefMut
.
Fields§
§ctx: &'a mut MetaAssetLoadCtx<'srv>
The metadata asset load context.
ptr: SchemaRefMut<'ptr>
The pointer to load.
Trait Implementations§
source§impl<'a, 'srv, 'ptr, 'de> DeserializeSeed<'de> for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
impl<'a, 'srv, 'ptr, 'de> DeserializeSeed<'de> for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
source§fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
Equivalent to the more common
Deserialize::deserialize
method, except
with some initial piece of data (the seed) passed in.Auto Trait Implementations§
impl<'a, 'srv, 'ptr> Freeze for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
impl<'a, 'srv, 'ptr> !RefUnwindSafe for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
impl<'a, 'srv, 'ptr> !Send for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
impl<'a, 'srv, 'ptr> !Sync for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
impl<'a, 'srv, 'ptr> Unpin for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
impl<'a, 'srv, 'ptr> !UnwindSafe for SchemaPtrLoadCtx<'a, 'srv, 'ptr>
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