pub struct Immediate(pub String);Expand description
Immediate value represented as a string. TODO: Replace with appropriate numeric type later.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl PtxParser for Immediate
impl PtxParser for Immediate
fn parse(stream: &mut PtxTokenStream<'_>) -> Result<Self, PtxParseError>
Source§impl PtxUnparser for Immediate
impl PtxUnparser for Immediate
impl Eq for Immediate
impl StructuralPartialEq for Immediate
Auto Trait Implementations§
impl Freeze for Immediate
impl RefUnwindSafe for Immediate
impl Send for Immediate
impl Sync for Immediate
impl Unpin for Immediate
impl UnwindSafe for Immediate
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