pub struct LeasedBufferView<'a, B> { /* private fields */ }Expand description
Borrowed access to a live, active, generation-bound committed buffer.
Implementations§
Source§impl<'a, B> LeasedBufferView<'a, B>
impl<'a, B> LeasedBufferView<'a, B>
pub fn identity(&self) -> &ResourceTransactionIdentity
pub fn admission(&self) -> &StaticProvisioningBinding
pub fn resource_id(&self) -> &ResourceId
pub const fn generation(&self) -> u64
pub fn committed_descriptor(&self) -> &BufferDescriptor
pub fn buffer(&self) -> &B
Auto Trait Implementations§
impl<'a, B> Freeze for LeasedBufferView<'a, B>
impl<'a, B> RefUnwindSafe for LeasedBufferView<'a, B>where
&'a B: RefUnwindSafe,
impl<'a, B> Send for LeasedBufferView<'a, B>
impl<'a, B> Sync for LeasedBufferView<'a, B>
impl<'a, B> Unpin for LeasedBufferView<'a, B>
impl<'a, B> UnsafeUnpin for LeasedBufferView<'a, B>where
&'a B: UnsafeUnpin,
impl<'a, B> UnwindSafe for LeasedBufferView<'a, B>where
&'a 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