pub struct AssetRefField {
pub name: String,
pub asset_type: String,
pub asset_path: Option<String>,
pub asset_id: Option<u64>,
}Expand description
A reference to an asset by path / ID.
Fields§
§name: String§asset_type: String§asset_path: Option<String>§asset_id: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for AssetRefField
impl Clone for AssetRefField
Source§fn clone(&self) -> AssetRefField
fn clone(&self) -> AssetRefField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AssetRefField
impl RefUnwindSafe for AssetRefField
impl Send for AssetRefField
impl Sync for AssetRefField
impl Unpin for AssetRefField
impl UnsafeUnpin for AssetRefField
impl UnwindSafe for AssetRefField
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