pub enum ParamStateSpace {
Const {
span: Span,
},
Global {
span: Span,
},
Local {
span: Span,
},
Shared {
span: Span,
},
}Expand description
Address space qualifiers for parameters.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ParamStateSpace
impl Clone for ParamStateSpace
Source§fn clone(&self) -> ParamStateSpace
fn clone(&self) -> ParamStateSpace
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 ParamStateSpace
impl Debug for ParamStateSpace
Source§impl PartialEq for ParamStateSpace
impl PartialEq for ParamStateSpace
Source§impl PtxParser for ParamStateSpace
impl PtxParser for ParamStateSpace
Source§fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
fn parse() -> impl Fn(&mut PtxTokenStream<'_>) -> Result<(Self, Span), PtxParseError>
Returns a parser function that can parse an instance of
Self.Source§impl PtxUnparser for ParamStateSpace
impl PtxUnparser for ParamStateSpace
Source§impl Spanned for ParamStateSpace
impl Spanned for ParamStateSpace
Source§impl TreeDisplay for ParamStateSpace
impl TreeDisplay for ParamStateSpace
Source§fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
Display this node in tree format. Read more
impl Eq for ParamStateSpace
impl StructuralPartialEq for ParamStateSpace
Auto Trait Implementations§
impl Freeze for ParamStateSpace
impl RefUnwindSafe for ParamStateSpace
impl Send for ParamStateSpace
impl Sync for ParamStateSpace
impl Unpin for ParamStateSpace
impl UnwindSafe for ParamStateSpace
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