Struct web_rwkv::tensor::TensorBuffer
source · pub struct TensorBuffer {
pub meta: Arc<Buffer>,
pub buffer: Arc<Buffer>,
}Fields§
§meta: Arc<Buffer>§buffer: Arc<Buffer>Implementations§
source§impl TensorBuffer
impl TensorBuffer
pub fn meta_binding(&self) -> BindingResource<'_>
pub fn binding(&self) -> BindingResource<'_>
Trait Implementations§
source§impl Clone for TensorBuffer
impl Clone for TensorBuffer
source§fn clone(&self) -> TensorBuffer
fn clone(&self) -> TensorBuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TensorBuffer
impl Send for TensorBuffer
impl Sync for TensorBuffer
impl Unpin for TensorBuffer
impl !UnwindSafe for TensorBuffer
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