pub struct AssetRef {
pub key: String,
pub path: String,
pub kind: String,
}Fields§
§key: StringUnique key within the scene.
path: StringPath relative to project root: “assets/dreamwell/models/glTF/model.zip”
kind: String“gltf” | “fbx” | “texture” | “audio” | “pbr_pack”
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AssetRef
impl<'de> Deserialize<'de> for AssetRef
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 AssetRef
impl RefUnwindSafe for AssetRef
impl Send for AssetRef
impl Sync for AssetRef
impl Unpin for AssetRef
impl UnsafeUnpin for AssetRef
impl UnwindSafe for AssetRef
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