pub struct ResourceOwnedBuffer<B> { /* private fields */ }Implementations§
Source§impl<B> ResourceOwnedBuffer<B>
impl<B> ResourceOwnedBuffer<B>
pub fn resource_id(&self) -> &ResourceId
pub const fn generation(&self) -> u64
pub fn actual_resource_id(&self) -> &ResourceId
pub const fn actual_generation(&self) -> u64
pub fn expected_descriptor(&self) -> &BufferDescriptor
pub fn actual_descriptor(&self) -> &BufferDescriptor
pub fn buffer(&self) -> &B
Auto Trait Implementations§
impl<B> Freeze for ResourceOwnedBuffer<B>where
B: Freeze,
impl<B> RefUnwindSafe for ResourceOwnedBuffer<B>where
B: RefUnwindSafe,
impl<B> Send for ResourceOwnedBuffer<B>where
B: Send,
impl<B> Sync for ResourceOwnedBuffer<B>where
B: Sync,
impl<B> Unpin for ResourceOwnedBuffer<B>where
B: Unpin,
impl<B> UnsafeUnpin for ResourceOwnedBuffer<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for ResourceOwnedBuffer<B>where
B: 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