pub struct Texture {
pub file: String,
pub flags: u32,
pub blend: u32,
pub position: [f32; 2],
pub scale: [f32; 2],
pub rotation: f32,
}Fields§
§file: String§flags: u32§blend: u32§position: [f32; 2]§scale: [f32; 2]§rotation: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnwindSafe for Texture
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