Skip to main content

AsOpcodeUnit

Trait AsOpcodeUnit 

pub trait AsOpcodeUnit {
    type OpcodeUnit: Copy;

    // Required method
    fn opcode(&self) -> Self::OpcodeUnit;
}

Required Associated Types§

Required Methods§

fn opcode(&self) -> Self::OpcodeUnit

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl<T> AsOpcodeUnit for &T
where T: AsOpcodeUnit,

Implementors§