pub enum AssetRef {
ById(AssetId),
ByGroup(u16),
}Expand description
Reference to a control asset.
Variants§
ById(AssetId)
Reference an existing asset by its full ID.
ByGroup(u16)
Reference a group in the same transaction by index.
Trait Implementations§
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