pub struct RotexImage { /* private fields */ }Implementations§
Source§impl RotexImage
impl RotexImage
pub fn new( instance: &Instance, device: &Device, desc: ImageDescriptor, ) -> Result<Self, Error>
pub fn transition_layout( &self, device: &Device, command_buffer: &CommandBuffer, new_layout: ImageLayout, )
pub fn handle(&self) -> Image
pub fn view(&self) -> ImageView
pub fn destroy(&self, device: &Device)
Auto Trait Implementations§
impl !Freeze for RotexImage
impl !RefUnwindSafe for RotexImage
impl Send for RotexImage
impl !Sync for RotexImage
impl Unpin for RotexImage
impl UnsafeUnpin for RotexImage
impl UnwindSafe for RotexImage
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