pub struct RawResourceHandle<T> {
pub idx: usize,
/* private fields */
}
Expand description
Non-owning resource handle.
Not part of rend3’s external interface, but needed to interface with rend3’s internal datastructures if writing your own structures or render routines.
Fields§
§idx: usize
Underlying value of the handle.
Trait Implementations§
Source§impl<T> Clone for RawResourceHandle<T>
impl<T> Clone for RawResourceHandle<T>
Source§impl<T> Debug for RawResourceHandle<T>
impl<T> Debug for RawResourceHandle<T>
Source§impl<T> PartialEq for RawResourceHandle<T>
impl<T> PartialEq for RawResourceHandle<T>
impl<T> Copy for RawResourceHandle<T>
impl<T> Eq for RawResourceHandle<T>
Auto Trait Implementations§
impl<T> Freeze for RawResourceHandle<T>
impl<T> RefUnwindSafe for RawResourceHandle<T>where
T: RefUnwindSafe,
impl<T> Send for RawResourceHandle<T>where
T: Send,
impl<T> Sync for RawResourceHandle<T>where
T: Sync,
impl<T> Unpin for RawResourceHandle<T>where
T: Unpin,
impl<T> UnwindSafe for RawResourceHandle<T>where
T: UnwindSafe,
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