pub struct CoreBuffer {
pub(crate) context: ContextWgpuCore,
id: BufferId,
error_sink: Arc<Mutex<ErrorSinkRaw>>,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§id: BufferId
§error_sink: Arc<Mutex<ErrorSinkRaw>>
Trait Implementations§
source§impl BufferInterface for CoreBuffer
impl BufferInterface for CoreBuffer
fn map_async( &self, mode: MapMode, range: Range<BufferAddress>, callback: Box<dyn FnOnce(Result<(), BufferAsyncError>) + Send + 'static>, )
fn get_mapped_range( &self, sub_range: Range<BufferAddress>, ) -> DispatchBufferMappedRange
fn unmap(&self)
fn destroy(&self)
source§impl Debug for CoreBuffer
impl Debug for CoreBuffer
source§impl Drop for CoreBuffer
impl Drop for CoreBuffer
source§impl Hash for CoreBuffer
impl Hash for CoreBuffer
source§impl Ord for CoreBuffer
impl Ord for CoreBuffer
source§impl PartialEq for CoreBuffer
impl PartialEq for CoreBuffer
source§impl PartialOrd for CoreBuffer
impl PartialOrd for CoreBuffer
impl Eq for CoreBuffer
Auto Trait Implementations§
impl Freeze for CoreBuffer
impl !RefUnwindSafe for CoreBuffer
impl Send for CoreBuffer
impl Sync for CoreBuffer
impl Unpin for CoreBuffer
impl !UnwindSafe for CoreBuffer
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.