pub struct PtxRegDecl {
pub reg_type: PtxType,
pub names: Vec<String>,
pub count: Option<u32>,
}Expand description
PTX register declaration
Fields§
§reg_type: PtxTypeRegister type
names: Vec<String>Register names
count: Option<u32>Number of registers (for array decls like .reg .f32 %f<32>)
Trait Implementations§
Source§impl Clone for PtxRegDecl
impl Clone for PtxRegDecl
Source§fn clone(&self) -> PtxRegDecl
fn clone(&self) -> PtxRegDecl
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 PtxRegDecl
impl RefUnwindSafe for PtxRegDecl
impl Send for PtxRegDecl
impl Sync for PtxRegDecl
impl Unpin for PtxRegDecl
impl UnsafeUnpin for PtxRegDecl
impl UnwindSafe for PtxRegDecl
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