pub struct X86Encoder<W> { /* private fields */ }Implementations
sourceimpl<W> X86Encoder<W>
impl<W> X86Encoder<W>
sourceimpl<W: InsnWrite> X86Encoder<W>
impl<W: InsnWrite> X86Encoder<W>
pub fn write_insn(&mut self, insn: X86Instruction) -> Result<()>
Trait Implementations
sourceimpl<W: Clone> Clone for X86Encoder<W>
impl<W: Clone> Clone for X86Encoder<W>
sourcefn clone(&self) -> X86Encoder<W>ⓘNotable traits for X86Encoder<W>impl<W: Write> Write for X86Encoder<W>
fn clone(&self) -> X86Encoder<W>ⓘNotable traits for X86Encoder<W>impl<W: Write> Write for X86Encoder<W>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<W: Debug> Debug for X86Encoder<W>
impl<W: Debug> Debug for X86Encoder<W>
sourceimpl<W: Hash> Hash for X86Encoder<W>
impl<W: Hash> Hash for X86Encoder<W>
sourceimpl<W: InsnWrite> InsnWrite for X86Encoder<W>
impl<W: InsnWrite> InsnWrite for X86Encoder<W>
sourceimpl<W: PartialEq> PartialEq<X86Encoder<W>> for X86Encoder<W>
impl<W: PartialEq> PartialEq<X86Encoder<W>> for X86Encoder<W>
sourcefn eq(&self, other: &X86Encoder<W>) -> bool
fn eq(&self, other: &X86Encoder<W>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &X86Encoder<W>) -> bool
fn ne(&self, other: &X86Encoder<W>) -> bool
This method tests for !=.
sourceimpl<W: Write> Write for X86Encoder<W>
impl<W: Write> Write for X86Encoder<W>
sourcefn write(&mut self, buf: &[u8]) -> Result<usize>
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this writer, returning how many bytes were written. Read more
sourcefn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
sourcefn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
can_vector)Determines if this Writer has an efficient write_vectored
implementation. Read more
1.0.0 · sourcefn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
Attempts to write an entire buffer into this writer. Read more
sourcefn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>
write_all_vectored)Attempts to write multiple buffers into this writer. Read more
impl<W: Copy> Copy for X86Encoder<W>
impl<W: Eq> Eq for X86Encoder<W>
impl<W> StructuralEq for X86Encoder<W>
impl<W> StructuralPartialEq for X86Encoder<W>
Auto Trait Implementations
impl<W> RefUnwindSafe for X86Encoder<W> where
W: RefUnwindSafe,
impl<W> Send for X86Encoder<W> where
W: Send,
impl<W> Sync for X86Encoder<W> where
W: Sync,
impl<W> Unpin for X86Encoder<W> where
W: Unpin,
impl<W> UnwindSafe for X86Encoder<W> where
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more