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
source§fn eq(&self, other: &TextureQuery) -> bool
fn eq(&self, other: &TextureQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextureQuery
impl Eq for TextureQuery
impl StructuralEq for TextureQuery
impl StructuralPartialEq for TextureQuery
Auto Trait Implementations§
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