pub struct IdBuffer {
pub inner: Buffer,
pub id: BeltBufferId,
pub size: BufferAddress,
pub dirty: AtomicBool,
}Expand description
A buffer plus an id, internal size, and dirty flag.
If you muck with this manually, AutomatedBelts will likely break, but they’re there in case they are needed.
Fields§
§inner: BufferUnderlying buffer.
id: BeltBufferIdHashable id that is unique within the AutomatedBuffer.
size: BufferAddressSize of the buffer. Not the requested size.
dirty: AtomicBoolBuffer has been written to and must be pumped.
Auto Trait Implementations§
impl !Freeze for IdBuffer
impl !RefUnwindSafe for IdBuffer
impl Send for IdBuffer
impl Sync for IdBuffer
impl Unpin for IdBuffer
impl !UnwindSafe for IdBuffer
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