pub struct TileSetItem {
pub region: Rect<f32, f32>,
pub page: f32,
pub tint: Rgba<f32>,
pub size: Vec2<usize>,
pub offset: Vec2<isize>,
}
Fields§
§region: Rect<f32, f32>
§page: f32
§tint: Rgba<f32>
§size: Vec2<usize>
§offset: Vec2<isize>
Implementations§
Trait Implementations§
Source§impl Clone for TileSetItem
impl Clone for TileSetItem
Source§fn clone(&self) -> TileSetItem
fn clone(&self) -> TileSetItem
Returns a copy 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 moreSource§impl Debug for TileSetItem
impl Debug for TileSetItem
Auto Trait Implementations§
impl Freeze for TileSetItem
impl RefUnwindSafe for TileSetItem
impl Send for TileSetItem
impl Sync for TileSetItem
impl Unpin for TileSetItem
impl UnwindSafe for TileSetItem
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