Struct tic80_sys::SpriteOptions
source · pub struct SpriteOptions<'a> {
pub transparent: &'a [u8],
pub scale: i32,
pub flip: Flip,
pub rotate: Rotate,
pub w: i32,
pub h: i32,
}
Fields§
§transparent: &'a [u8]
§scale: i32
§flip: Flip
§rotate: Rotate
§w: i32
§h: i32
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SpriteOptions<'a>
impl<'a> Send for SpriteOptions<'a>
impl<'a> Sync for SpriteOptions<'a>
impl<'a> Unpin for SpriteOptions<'a>
impl<'a> UnwindSafe for SpriteOptions<'a>
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