pub fn new(
        m: mnemonic::Mnemonic,
        am: addressing_mode::AddressingMode,
    ) -> Result<Self, InstructionErr> {
        use std::convert::TryFrom;
        <InstructionVariant>::try_from((m, am))
    }
/// new functions as a wrapper around TryFrom<(Mnemonic, AddressingMode)
/// and returning a Result. This functions identically other than requiring
/// that the TryFrom trait be imported to call this.
new functions as a wrapper around TryFrom<(Mnemonic, AddressingMode)
and returning a Result. This functions identically other than requiring
that the TryFrom trait be imported to call this.
new functions as a wrapper around TryFrom< ( Mnemonic AddressingMode ) and returning a Result . This functions identically other than requiring that the TryFrom trait be imported to call this .
pub fn new(
        m: mnemonic::Mnemonic,
        am: addressing_mode::AddressingMode,
    ) -> Result<Self, InstructionErr> {
        use std::convert::TryFrom;
        <InstructionVariant>::try_from((m, am))
    }
pub fn new ( m : mnemonic :: Mnemonic , am : addressing_mode :: AddressingMode , ) -> Result < Self , InstructionErr > { use std :: convert :: TryFrom ; < InstructionVariant > :: try_from ( ( m , am ) ) }
new functions as a wrapper around TryFrom<(Mnemonic, AddressingMode)
and returning a Result.
new functions as a wrapper around TryFrom< ( Mnemonic AddressingMode ) and returning a Result .
m
mnemonic::Mnemonic
am
addressing_mode::AddressingMode