pub struct Buffer {
raw: Option<Buffer>,
target: u32,
size: BufferAddress,
map_flags: u32,
data: Option<Arc<Mutex<Vec<u8>>>>,
offset_of_current_mapping: Arc<Mutex<BufferAddress>>,
}
Available on
gles
only.Fields§
§raw: Option<Buffer>
§target: u32
§size: BufferAddress
§map_flags: u32
§data: Option<Arc<Mutex<Vec<u8>>>>
§offset_of_current_mapping: Arc<Mutex<BufferAddress>>
Trait Implementations§
source§impl DynResource for Buffer
impl DynResource for Buffer
impl DynBuffer for Buffer
impl Send for Buffer
Available on
send_sync
only.impl Sync for Buffer
Available on
send_sync
only.Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Unpin for Buffer
impl UnwindSafe for Buffer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)