Struct conrod_vulkano::Image
source · pub struct Image {
pub image_access: Arc<ImmutableImage<R8G8B8A8Unorm>>,
pub width: u32,
pub height: u32,
}
Expand description
A loaded vulkan texture and it’s width/height
Fields§
§image_access: Arc<ImmutableImage<R8G8B8A8Unorm>>
The actual image.
width: u32
The width of the image.
height: u32
The height of the image.
Auto Trait Implementations§
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations§
source§impl<T> Content for T
impl<T> Content for T
source§fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
source§fn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
source§fn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.