#[non_exhaustive]pub struct MNode {
pub op: MOp,
pub width: Width,
pub args: [u32; 2],
}Expand description
A node: operator, result width, operand indices (earlier nodes).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.op: MOpThe operator.
width: WidthThe result width.
args: [u32; 2]Operand node indices (unused ones are 0).
Trait Implementations§
impl Copy for MNode
impl Eq for MNode
impl StructuralPartialEq for MNode
Auto Trait Implementations§
impl Forget for MNode
impl Freeze for MNode
impl Move for MNode
impl RefUnwindSafe for MNode
impl Send for MNode
impl Sync for MNode
impl Unpin for MNode
impl UnsafeUnpin for MNode
impl UnwindSafe for MNode
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