pub struct VarAssignment {
pub var: VarId,
pub val: ValType,
}Expand description
A variable assignment number and the type of the microcode value held there.
Fields§
§var: VarIdID of the variable that is assigned.
val: ValTypeType of the value assigned to that variable ID.
Trait Implementations§
Source§impl Clone for VarAssignment
impl Clone for VarAssignment
Source§fn clone(&self) -> VarAssignment
fn clone(&self) -> VarAssignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VarAssignment
impl Debug for VarAssignment
Source§impl PartialEq for VarAssignment
impl PartialEq for VarAssignment
Source§fn eq(&self, other: &VarAssignment) -> bool
fn eq(&self, other: &VarAssignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VarAssignment
impl Eq for VarAssignment
impl StructuralPartialEq for VarAssignment
Auto Trait Implementations§
impl Freeze for VarAssignment
impl RefUnwindSafe for VarAssignment
impl Send for VarAssignment
impl Sync for VarAssignment
impl Unpin for VarAssignment
impl UnsafeUnpin for VarAssignment
impl UnwindSafe for VarAssignment
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