pub struct ImageView<I: ImageAccess + 'static> { /* private fields */ }Implementations§
Source§impl<I: ImageAccess + 'static> ImageView<I>
impl<I: ImageAccess + 'static> ImageView<I>
pub fn new(image: Arc<I>, properties: ImageViewProperties) -> VkResult<Self>
pub unsafe fn new_from_create_info( image: Arc<I>, create_info_builder: ImageViewCreateInfoBuilder<'_>, ) -> VkResult<Self>
pub fn properties(&self) -> &ImageViewProperties
pub fn image(&self) -> &Arc<I>
Trait Implementations§
Source§impl<I: ImageAccess + 'static> DeviceOwned for ImageView<I>
impl<I: ImageAccess + 'static> DeviceOwned for ImageView<I>
Source§impl<I: ImageAccess + 'static> Drop for ImageView<I>
impl<I: ImageAccess + 'static> Drop for ImageView<I>
Source§impl<I: ImageAccess + 'static> ImageViewAccess for ImageView<I>
impl<I: ImageAccess + 'static> ImageViewAccess for ImageView<I>
fn handle(&self) -> ImageView
fn image_access(&self) -> Arc<dyn ImageAccess>
Auto Trait Implementations§
impl<I> Freeze for ImageView<I>
impl<I> RefUnwindSafe for ImageView<I>where
I: RefUnwindSafe,
impl<I> Send for ImageView<I>
impl<I> Sync for ImageView<I>
impl<I> Unpin for ImageView<I>
impl<I> UnwindSafe for ImageView<I>where
I: RefUnwindSafe,
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