pub enum InstShiftOp {
Shl,
Shr,
}
Expand description
An operation between two values on the machine.
Variants§
Trait Implementations§
Source§impl Clone for InstShiftOp
impl Clone for InstShiftOp
Source§fn clone(&self) -> InstShiftOp
fn clone(&self) -> InstShiftOp
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InstShiftOp
impl Debug for InstShiftOp
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for InstShiftOpwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for InstShiftOpwhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for InstShiftOpwhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for InstShiftOpwhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'de> Deserialize<'de> for InstShiftOp
impl<'de> Deserialize<'de> for InstShiftOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InstShiftOp
impl Display for InstShiftOp
Source§impl Encode<Binary> for InstShiftOp
impl Encode<Binary> for InstShiftOp
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = InstShiftOp
type Encode = InstShiftOp
The underlying type being encoded. Read more
Source§impl Encode<Text> for InstShiftOp
impl Encode<Text> for InstShiftOp
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = InstShiftOp
type Encode = InstShiftOp
The underlying type being encoded. Read more
Source§impl Serialize for InstShiftOp
impl Serialize for InstShiftOp
Source§impl TryClone for InstShiftOp
impl TryClone for InstShiftOp
impl Copy for InstShiftOp
Auto Trait Implementations§
impl Freeze for InstShiftOp
impl RefUnwindSafe for InstShiftOp
impl Send for InstShiftOp
impl Sync for InstShiftOp
impl Unpin for InstShiftOp
impl UnwindSafe for InstShiftOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more