pub struct SharedVarInfo {
pub name: String,
pub is_tile: bool,
pub dimensions: Vec<usize>,
pub element_type: String,
}Expand description
Information about a shared memory variable.
Fields§
§name: StringVariable name.
is_tile: boolWhether it’s a 2D tile (true) or 1D array (false).
dimensions: Vec<usize>Dimensions: [size] for 1D, [height, width] for 2D.
element_type: StringElement type (CUDA type string).
Trait Implementations§
Source§fn clone(&self) -> SharedVarInfo
fn clone(&self) -> SharedVarInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)