Struct awint_macro_internals::Names
source · pub struct Names<'a> {
pub constant: &'a str,
pub bind: &'a str,
pub value: &'a str,
pub width: &'a str,
pub cw: &'a str,
pub bits_ref: &'a str,
pub awi: &'a str,
pub awi_ref: &'a str,
pub shl: &'a str,
pub res: &'a str,
}
Expand description
Prefixes used for codegen names and functions. Most of these should be prefixed with two underscores and the crate name to prevent collisions.
Fields§
§constant: &'a str
Prefix used for constants
bind: &'a str
Prefix used for initial bindings
value: &'a str
Prefix used for values
width: &'a str
Prefix used for widths
cw: &'a str
Prefix used for concatenation width
bits_ref: &'a str
Prefix used for Bits
references
awi: &'a str
Name used by the construct which might be created for returning, created as a temporary only, or never created.
awi_ref: &'a str
Name used for the reference to awi
shl: &'a str
Name used for the fielding to
offset
res: &'a str
Name used for CC checking result
Trait Implementations§
impl<'a> Copy for Names<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Names<'a>
impl<'a> Send for Names<'a>
impl<'a> Sync for Names<'a>
impl<'a> Unpin for Names<'a>
impl<'a> UnwindSafe for Names<'a>
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