pub struct TensorMapBinding {
pub binding: Binding,
pub map: TensorMapMeta,
}
Expand description
A tensor map used with TMA ops
Fields§
§binding: Binding
The binding for the backing tensor
map: TensorMapMeta
The tensormap metadata
Implementations§
Source§impl TensorMapBinding
impl TensorMapBinding
Sourcepub fn new(binding: Binding, map: TensorMapMeta) -> TensorMapBinding
pub fn new(binding: Binding, map: TensorMapMeta) -> TensorMapBinding
Constructs a new TensorMapBinding
.
Trait Implementations§
Source§impl Clone for TensorMapBinding
impl Clone for TensorMapBinding
Source§fn clone(&self) -> TensorMapBinding
fn clone(&self) -> TensorMapBinding
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 Freeze for TensorMapBinding
impl RefUnwindSafe for TensorMapBinding
impl Send for TensorMapBinding
impl Sync for TensorMapBinding
impl Unpin for TensorMapBinding
impl UnwindSafe for TensorMapBinding
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