pub trait OpArgType: Copy {
    // Required methods
    fn from_op_arg(x: u32) -> Option<Self>;
    fn to_op_arg(self) -> u32;
}

Required Methods§

source

fn from_op_arg(x: u32) -> Option<Self>

source

fn to_op_arg(self) -> u32

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl OpArgType for bool

source§

impl OpArgType for u32

Implementors§