Struct rustpython_vm::bytecode::OpArgByte
source · #[repr(transparent)]pub struct OpArgByte(pub u8);
Expand description
an opcode argument that may be extended by a prior ExtendedArg
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl PartialEq<OpArgByte> for OpArgByte
impl PartialEq<OpArgByte> for OpArgByte
impl Copy for OpArgByte
impl Eq for OpArgByte
impl StructuralEq for OpArgByte
impl StructuralPartialEq for OpArgByte
Auto Trait Implementations§
impl RefUnwindSafe for OpArgByte
impl Send for OpArgByte
impl Sync for OpArgByte
impl Unpin for OpArgByte
impl UnwindSafe for OpArgByte
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.