pub struct BgBuffer {
pub frame: Frame,
pub source_col: u16,
pub source_row: u16,
}
Expand description
Provides a way for a tilemap to regenerate the bg “behind” a BgSprite (a moving element that writes to the tilemap)
Fields§
§frame: Frame
§source_col: u16
§source_row: u16
Auto Trait Implementations§
impl Freeze for BgBuffer
impl RefUnwindSafe for BgBuffer
impl Send for BgBuffer
impl Sync for BgBuffer
impl Unpin for BgBuffer
impl UnwindSafe for BgBuffer
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