pub struct ResourceTable { /* private fields */ }Implementations§
Source§impl ResourceTable
impl ResourceTable
pub fn as_raw(&self) -> *mut WGPUResourceTableImpl
pub fn get_size(&self) -> u32
pub fn destroy(&self)
pub fn update(&self, slot: u32, resource: &BindingResource) -> Status
pub fn insert_binding(&self, resource: &BindingResource) -> u32
pub fn remove_binding(&self, slot: u32) -> Status
Trait Implementations§
Source§impl Clone for ResourceTable
impl Clone for ResourceTable
Source§impl Debug for ResourceTable
impl Debug for ResourceTable
Source§impl Drop for ResourceTable
impl Drop for ResourceTable
impl Send for ResourceTable
impl Sync for ResourceTable
Auto Trait Implementations§
impl Freeze for ResourceTable
impl RefUnwindSafe for ResourceTable
impl Unpin for ResourceTable
impl UnsafeUnpin for ResourceTable
impl UnwindSafe for ResourceTable
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