pub struct ImageHandleGuard {
pub handle: ImageHandle,
/* private fields */
}Expand description
RAII guard that removes the image when dropped
Fields§
§handle: ImageHandleImplementations§
Source§impl ImageHandleGuard
impl ImageHandleGuard
pub fn new(rc: &RenderContext) -> Self
Trait Implementations§
Source§impl Deref for ImageHandleGuard
impl Deref for ImageHandleGuard
Source§impl Drop for ImageHandleGuard
impl Drop for ImageHandleGuard
Auto Trait Implementations§
impl Freeze for ImageHandleGuard
impl RefUnwindSafe for ImageHandleGuard
impl Send for ImageHandleGuard
impl Sync for ImageHandleGuard
impl Unpin for ImageHandleGuard
impl UnsafeUnpin for ImageHandleGuard
impl UnwindSafe for ImageHandleGuard
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