pub enum FunctionHeaderDirective {
Show 14 variants
Linkage {
linkage: CodeLinkage,
span: Range<usize>,
},
NoReturn {
span: Range<usize>,
},
AbiPreserve {
value: u32,
span: Range<usize>,
},
AbiPreserveControl {
value: u32,
span: Range<usize>,
},
MaxClusterRank {
value: u32,
span: Range<usize>,
},
BlocksAreClusters {
span: Range<usize>,
},
ExplicitCluster {
dim: FunctionDim3,
span: Range<usize>,
},
ReqNctaPerCluster {
dim: FunctionDim3,
span: Range<usize>,
},
MaxNReg {
value: u32,
span: Range<usize>,
},
MaxNTid {
dim: FunctionDim3,
span: Range<usize>,
},
MinNCtaPerSm {
value: u32,
span: Range<usize>,
},
ReqNTid {
dim: FunctionDim3,
span: Range<usize>,
},
MaxNCtaPerSm {
value: u32,
span: Range<usize>,
},
Pragma {
args: Vec<String>,
span: Range<usize>,
},
}Expand description
Directive tokens that may decorate a PTX function header.
Variants§
Linkage
NoReturn
AbiPreserve
AbiPreserveControl
MaxClusterRank
BlocksAreClusters
ExplicitCluster
ReqNctaPerCluster
MaxNReg
MaxNTid
MinNCtaPerSm
ReqNTid
MaxNCtaPerSm
Pragma
Implementations§
Trait Implementations§
Source§impl Clone for FunctionHeaderDirective
impl Clone for FunctionHeaderDirective
Source§fn clone(&self) -> FunctionHeaderDirective
fn clone(&self) -> FunctionHeaderDirective
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 Debug for FunctionHeaderDirective
impl Debug for FunctionHeaderDirective
Source§impl PartialEq for FunctionHeaderDirective
impl PartialEq for FunctionHeaderDirective
impl StructuralPartialEq for FunctionHeaderDirective
Auto Trait Implementations§
impl Freeze for FunctionHeaderDirective
impl RefUnwindSafe for FunctionHeaderDirective
impl Send for FunctionHeaderDirective
impl Sync for FunctionHeaderDirective
impl Unpin for FunctionHeaderDirective
impl UnwindSafe for FunctionHeaderDirective
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