pub struct ImageQuery<R> {
pub texture: R,
pub dim: Dim,
pub kind: QueryKind,
pub level: Option<u32>,
}Expand description
A resinfo-style query.
Fields§
§texture: RThe texture queried.
dim: DimThe texture’s shape.
kind: QueryKindWhich property is read.
level: Option<u32>The mip level a size is asked at; None where the query states none.
Trait Implementations§
Source§impl<R: Clone> Clone for ImageQuery<R>
impl<R: Clone> Clone for ImageQuery<R>
impl<R: Copy> Copy for ImageQuery<R>
Auto Trait Implementations§
impl<R> Forget for ImageQuery<R>
impl<R> Freeze for ImageQuery<R>where
R: Freeze,
impl<R> RefUnwindSafe for ImageQuery<R>where
R: RefUnwindSafe,
impl<R> Send for ImageQuery<R>where
R: Send,
impl<R> Sync for ImageQuery<R>where
R: Sync,
impl<R> Unpin for ImageQuery<R>where
R: Unpin,
impl<R> UnsafeUnpin for ImageQuery<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ImageQuery<R>where
R: UnwindSafe,
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