pub struct SpriteRef { /* private fields */ }
Expand description
Reference to a heap-allocated sprite. Contains the index of the vector, only this crate is allowed to access this.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpriteRef
impl RefUnwindSafe for SpriteRef
impl Send for SpriteRef
impl Sync for SpriteRef
impl Unpin for SpriteRef
impl UnwindSafe for SpriteRef
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