pub enum FunctionDirective {
NoReturn {
span: Span,
},
MaxNReg {
span: Span,
value: u32,
},
MaxNTid {
span: Span,
values: Vec<u32>,
},
ReqNTid {
span: Span,
values: Vec<u32>,
},
MinNCtaPerSm {
span: Span,
value: u32,
},
AbiPreserve {
span: Span,
value: u32,
},
AbiPreserveControl {
span: Span,
value: u32,
},
Pragma {
span: Span,
value: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for FunctionDirective
impl Clone for FunctionDirective
Source§fn clone(&self) -> FunctionDirective
fn clone(&self) -> FunctionDirective
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 moreSource§impl Debug for FunctionDirective
impl Debug for FunctionDirective
Source§impl PartialEq for FunctionDirective
impl PartialEq for FunctionDirective
Source§fn eq(&self, other: &FunctionDirective) -> bool
fn eq(&self, other: &FunctionDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FunctionDirective
Auto Trait Implementations§
impl Freeze for FunctionDirective
impl RefUnwindSafe for FunctionDirective
impl Send for FunctionDirective
impl Sync for FunctionDirective
impl Unpin for FunctionDirective
impl UnsafeUnpin for FunctionDirective
impl UnwindSafe for FunctionDirective
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