Enum strontium::machine::instruction::BitwiseMethod
source · pub enum BitwiseMethod {
AND {
a: String,
b: String,
out: String,
len: usize,
},
OR {
a: String,
b: String,
out: String,
len: usize,
},
XOR {
a: String,
b: String,
out: String,
len: usize,
},
NOT {
a: String,
out: String,
len: usize,
},
LSH {
a: String,
out: String,
amount: usize,
len: usize,
},
RSH {
a: String,
out: String,
amount: usize,
len: usize,
},
}
Variants§
Trait Implementations§
source§impl Clone for BitwiseMethod
impl Clone for BitwiseMethod
source§fn clone(&self) -> BitwiseMethod
fn clone(&self) -> BitwiseMethod
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 BitwiseMethod
impl Debug for BitwiseMethod
source§impl<'de> Deserialize<'de> for BitwiseMethod
impl<'de> Deserialize<'de> for BitwiseMethod
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 PartialEq for BitwiseMethod
impl PartialEq for BitwiseMethod
source§fn eq(&self, other: &BitwiseMethod) -> bool
fn eq(&self, other: &BitwiseMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BitwiseMethod
impl Serialize for BitwiseMethod
impl StructuralPartialEq for BitwiseMethod
Auto Trait Implementations§
impl RefUnwindSafe for BitwiseMethod
impl Send for BitwiseMethod
impl Sync for BitwiseMethod
impl Unpin for BitwiseMethod
impl UnwindSafe for BitwiseMethod
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