pub struct SDL_Texture {
pub format: SDL_PixelFormat,
pub w: c_int,
pub h: c_int,
pub refcount: c_int,
/* private fields */
}Expand description
Fields§
§format: SDL_PixelFormatThe format of the texture, read-only
w: c_intThe width of the texture, read-only.
h: c_intThe height of the texture, read-only.
refcount: c_intApplication reference count, used when freeing texture
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SDL_Texture
impl RefUnwindSafe for SDL_Texture
impl Send for SDL_Texture
impl Sync for SDL_Texture
impl Unpin for SDL_Texture
impl UnwindSafe for SDL_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