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
sourceimpl Clone for TextureQuery
impl Clone for TextureQuery
sourcefn clone(&self) -> TextureQuery
fn clone(&self) -> TextureQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TextureQuery
impl Debug for TextureQuery
sourceimpl Hash for TextureQuery
impl Hash for TextureQuery
sourceimpl PartialEq<TextureQuery> for TextureQuery
impl PartialEq<TextureQuery> for TextureQuery
sourcefn eq(&self, other: &TextureQuery) -> bool
fn eq(&self, other: &TextureQuery) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more