Struct sdl2::render::TextureQuery
source · pub struct TextureQuery {
pub format: PixelFormatEnum,
pub access: TextureAccess,
pub width: u32,
pub height: u32,
}
Fields§
§format: PixelFormatEnum
§access: TextureAccess
§width: u32
§height: u32
Trait Implementations§
source§impl Clone for TextureQuery
impl Clone for TextureQuery
source§fn clone(&self) -> TextureQuery
fn clone(&self) -> TextureQuery
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 TextureQuery
impl Debug for TextureQuery
source§impl Hash for TextureQuery
impl Hash for TextureQuery
source§impl PartialEq for TextureQuery
impl PartialEq for TextureQuery
impl Copy for TextureQuery
impl Eq for TextureQuery
impl StructuralPartialEq for TextureQuery
Auto Trait Implementations§
impl Freeze for TextureQuery
impl RefUnwindSafe for TextureQuery
impl Send for TextureQuery
impl Sync for TextureQuery
impl Unpin for TextureQuery
impl UnwindSafe for TextureQuery
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)