From 3785d0941f376b549a863853996e13ab47459525 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sun, 8 Dec 2024 23:59:23 +0100 Subject: insn: add missing trait rustdocs --- src/insn.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/insn.rs b/src/insn.rs index 2f80d3d..8c2215c 100644 --- a/src/insn.rs +++ b/src/insn.rs @@ -30,6 +30,7 @@ pub trait Call { fn call(&mut self, op1: T); } +/// Trait for [`cmovnz`](https://www.felixcloutier.com/x86/cmovcc) instruction kinds. pub trait Cmovnz { /// Emit a (conditional) move if not zero instruction. /// @@ -37,6 +38,7 @@ pub trait Cmovnz { fn cmovnz(&mut self, op1: T, op2: U); } +/// Trait for [`cmovz`](https://www.felixcloutier.com/x86/cmovcc) instruction kinds. pub trait Cmovz { /// Emit a (conditional) move if zero instruction. /// -- cgit v1.2.3