pub struct Table<T: Pod> { /* private fields */ }Implementations§
Source§impl<T: Pod> Table<T>
impl<T: Pod> Table<T>
pub fn new(device: &Device, label: &'static str) -> Self
pub fn with_capacity( device: &Device, label: &'static str, capacity: usize, ) -> Self
pub fn write(&mut self, device: &Device, queue: &Queue, rows: &[T]) -> bool
pub fn reserve(&mut self, device: &Device, capacity: usize) -> bool
pub fn buffer(&self) -> &Buffer
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Table<T>
impl<T> !UnwindSafe for Table<T>
impl<T> Freeze for Table<T>where
PhantomData<T>: Freeze,
impl<T> Send for Table<T>where
PhantomData<T>: Send,
impl<T> Sync for Table<T>where
PhantomData<T>: Sync,
impl<T> Unpin for Table<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for Table<T>where
PhantomData<T>: UnsafeUnpin,
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