pub struct WordLit(pub Option<Width>, pub u64);Expand description
A WordLit is a literal for a hardware integer with an optional width ascription.
Tuple Fields§
§0: Option<Width>§1: u64Trait Implementations§
impl Eq for WordLit
impl StructuralPartialEq for WordLit
Auto Trait Implementations§
impl Freeze for WordLit
impl RefUnwindSafe for WordLit
impl Send for WordLit
impl Sync for WordLit
impl Unpin for WordLit
impl UnwindSafe for WordLit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.