#[repr(C)]pub struct BindTensorMemoryInfoARM<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub tensor: TensorARM,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§tensor: TensorARM§memory: DeviceMemory§memory_offset: DeviceSize§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> BindTensorMemoryInfoARM<'a>
impl<'a> BindTensorMemoryInfoARM<'a>
pub fn tensor(self, tensor: TensorARM) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
Trait Implementations§
Source§impl<'a> Clone for BindTensorMemoryInfoARM<'a>
impl<'a> Clone for BindTensorMemoryInfoARM<'a>
Source§fn clone(&self) -> BindTensorMemoryInfoARM<'a>
fn clone(&self) -> BindTensorMemoryInfoARM<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for BindTensorMemoryInfoARM<'a>
impl<'a> Debug for BindTensorMemoryInfoARM<'a>
Source§impl Default for BindTensorMemoryInfoARM<'_>
impl Default for BindTensorMemoryInfoARM<'_>
Source§impl<'a> TaggedStructure for BindTensorMemoryInfoARM<'a>
impl<'a> TaggedStructure for BindTensorMemoryInfoARM<'a>
const STRUCTURE_TYPE: StructureType = StructureType::BIND_TENSOR_MEMORY_INFO_ARM
impl<'a> Copy for BindTensorMemoryInfoARM<'a>
impl Send for BindTensorMemoryInfoARM<'_>
impl Sync for BindTensorMemoryInfoARM<'_>
Auto Trait Implementations§
impl<'a> Freeze for BindTensorMemoryInfoARM<'a>
impl<'a> RefUnwindSafe for BindTensorMemoryInfoARM<'a>
impl<'a> Unpin for BindTensorMemoryInfoARM<'a>
impl<'a> UnwindSafe for BindTensorMemoryInfoARM<'a>
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