Struct lualite::bytecode::Instruction
source · [−]#[repr(transparent)]pub struct Instruction(pub u32);
Expand description
Transparent wrapper around an unsigned 32 bit integer
Tuple Fields
0: u32
Implementations
sourceimpl Instruction
impl Instruction
Trait Implementations
sourceimpl Binary for Instruction
impl Binary for Instruction
sourceimpl<Rhs> BitOr<Rhs> for Instruction where
Rhs: Into<Instruction>,
impl<Rhs> BitOr<Rhs> for Instruction where
Rhs: Into<Instruction>,
type Output = Instruction
type Output = Instruction
The resulting type after applying the |
operator.
sourcefn bitor(self, rhs: Rhs) -> Instruction
fn bitor(self, rhs: Rhs) -> Instruction
Performs the |
operation. Read more
sourceimpl<Rhs> BitOrAssign<Rhs> for Instruction where
Rhs: Into<Instruction>,
impl<Rhs> BitOrAssign<Rhs> for Instruction where
Rhs: Into<Instruction>,
sourcefn bitor_assign(&mut self, rhs: Rhs)
fn bitor_assign(&mut self, rhs: Rhs)
Performs the |=
operation. Read more
sourceimpl Clone for Instruction
impl Clone for Instruction
sourcefn clone(&self) -> Instruction
fn clone(&self) -> Instruction
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 Debug for Instruction
impl Debug for Instruction
sourceimpl Display for Instruction
impl Display for Instruction
sourceimpl From<ArgCount> for Instruction
impl From<ArgCount> for Instruction
sourcefn from(arg_count: ArgCount) -> Instruction
fn from(arg_count: ArgCount) -> Instruction
Converts to this type from the input type.
sourceimpl From<Instruction> for Subcode
impl From<Instruction> for Subcode
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<Instruction> for Reason
impl From<Instruction> for Reason
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<Instruction> for Special
impl From<Instruction> for Special
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<Instruction> for ArgCount
impl From<Instruction> for ArgCount
sourcefn from(instruction: Instruction) -> ArgCount
fn from(instruction: Instruction) -> ArgCount
Converts to this type from the input type.
sourceimpl From<Instruction> for On
impl From<Instruction> for On
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<Instruction> for Subcode
impl From<Instruction> for Subcode
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<Instruction> for Subcode
impl From<Instruction> for Subcode
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<Instruction> for SuperCode
impl From<Instruction> for SuperCode
sourcefn from(instruction: Instruction) -> Self
fn from(instruction: Instruction) -> Self
Converts to this type from the input type.
sourceimpl From<On> for Instruction
impl From<On> for Instruction
sourcefn from(value: On) -> Instruction
fn from(value: On) -> Instruction
Converts to this type from the input type.
sourceimpl From<Reason> for Instruction
impl From<Reason> for Instruction
sourcefn from(reason: Reason) -> Instruction
fn from(reason: Reason) -> Instruction
Converts to this type from the input type.
sourceimpl From<Special> for Instruction
impl From<Special> for Instruction
sourcefn from(special: Special) -> Instruction
fn from(special: Special) -> Instruction
Converts to this type from the input type.
sourceimpl From<Subcode> for Instruction
impl From<Subcode> for Instruction
sourcefn from(subcode: Subcode) -> Instruction
fn from(subcode: Subcode) -> Instruction
Converts to this type from the input type.
sourceimpl From<Subcode> for Instruction
impl From<Subcode> for Instruction
sourcefn from(subcode: Subcode) -> Instruction
fn from(subcode: Subcode) -> Instruction
Converts to this type from the input type.
sourceimpl From<Subcode> for Instruction
impl From<Subcode> for Instruction
sourcefn from(value: Subcode) -> Instruction
fn from(value: Subcode) -> Instruction
Converts to this type from the input type.
sourceimpl From<SuperCode> for Instruction
impl From<SuperCode> for Instruction
sourcefn from(value: SuperCode) -> Instruction
fn from(value: SuperCode) -> Instruction
Converts to this type from the input type.
sourceimpl LowerHex for Instruction
impl LowerHex for Instruction
sourceimpl UpperHex for Instruction
impl UpperHex for Instruction
impl Copy for Instruction
Auto Trait Implementations
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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