pub struct PtxVariable {
pub name: String,
pub var_type: PtxType,
pub space: PtxSpace,
pub array_size: Option<u32>,
pub alignment: Option<u32>,
}Expand description
PTX variable
Fields§
§name: StringVariable name
var_type: PtxTypeType
space: PtxSpaceStorage space
array_size: Option<u32>Array size (number of elements, if any)
alignment: Option<u32>Alignment
Trait Implementations§
Source§impl Clone for PtxVariable
impl Clone for PtxVariable
Source§fn clone(&self) -> PtxVariable
fn clone(&self) -> PtxVariable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PtxVariable
impl RefUnwindSafe for PtxVariable
impl Send for PtxVariable
impl Sync for PtxVariable
impl Unpin for PtxVariable
impl UnsafeUnpin for PtxVariable
impl UnwindSafe for PtxVariable
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