pub struct PredicateRegister {
pub name: String,
pub span: Span,
}Expand description
Predicate register names (e.g., %p0).
Fields§
§name: String§span: SpanImplementations§
Trait Implementations§
Source§impl Clone for PredicateRegister
impl Clone for PredicateRegister
Source§fn clone(&self) -> PredicateRegister
fn clone(&self) -> PredicateRegister
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 PredicateRegister
impl Debug for PredicateRegister
Source§impl PartialEq for PredicateRegister
impl PartialEq for PredicateRegister
Source§impl PtxParser for PredicateRegister
impl PtxParser for PredicateRegister
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 PredicateRegister
impl PtxUnparser for PredicateRegister
Source§impl Spanned for PredicateRegister
impl Spanned for PredicateRegister
impl Eq for PredicateRegister
impl StructuralPartialEq for PredicateRegister
Auto Trait Implementations§
impl Freeze for PredicateRegister
impl RefUnwindSafe for PredicateRegister
impl Send for PredicateRegister
impl Sync for PredicateRegister
impl Unpin for PredicateRegister
impl UnwindSafe for PredicateRegister
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