pub struct ImageType {
pub id: Handle<TypeId>,
pub sampled_type: Handle<TypeId>,
pub dimension: Dim,
pub class: ImageClass,
}Expand description
Type definition for an image or texture handle.
Fields§
§id: Handle<TypeId>The id of the type.
sampled_type: Handle<TypeId>The id of the type returned when the image is sampled or read from.
dimension: DimThe dimension of the image.
class: ImageClassThe class of the image.
Trait Implementations§
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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