pub struct CuHostMemoryPool { /* private fields */ }
Implementations§
Source§impl CuHostMemoryPool
impl CuHostMemoryPool
pub fn new( buffer_size: usize, buffer_count: u32, alignment: usize, ) -> CuHostMemoryPool
pub fn allocate(self_rc: &Rc<CuHostMemoryPool>) -> Option<CuBufferHandle>
pub fn size(&self) -> usize
Auto Trait Implementations§
impl !Freeze for CuHostMemoryPool
impl !RefUnwindSafe for CuHostMemoryPool
impl !Send for CuHostMemoryPool
impl !Sync for CuHostMemoryPool
impl Unpin for CuHostMemoryPool
impl UnwindSafe for CuHostMemoryPool
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