Struct hairy::BytecodeRef
source · [−]pub struct BytecodeRef<'a>(pub &'a [u8]);
Expand description
Reference to expry expression bytecode.
Tuple Fields
0: &'a [u8]
Implementations
Trait Implementations
sourceimpl<'a> Clone for BytecodeRef<'a>
impl<'a> Clone for BytecodeRef<'a>
sourcefn clone(&self) -> BytecodeRef<'a>
fn clone(&self) -> BytecodeRef<'a>
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<'a> Debug for BytecodeRef<'a>
impl<'a> Debug for BytecodeRef<'a>
sourceimpl<'a> Default for BytecodeRef<'a>
impl<'a> Default for BytecodeRef<'a>
sourcefn default() -> BytecodeRef<'a>
fn default() -> BytecodeRef<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> PartialEq<BytecodeRef<'a>> for BytecodeRef<'a>
impl<'a> PartialEq<BytecodeRef<'a>> for BytecodeRef<'a>
sourcefn eq(&self, other: &BytecodeRef<'a>) -> bool
fn eq(&self, other: &BytecodeRef<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BytecodeRef<'a>) -> bool
fn ne(&self, other: &BytecodeRef<'a>) -> bool
This method tests for !=
.
impl<'a> Copy for BytecodeRef<'a>
impl<'a> Eq for BytecodeRef<'a>
impl<'a> StructuralEq for BytecodeRef<'a>
impl<'a> StructuralPartialEq for BytecodeRef<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BytecodeRef<'a>
impl<'a> Send for BytecodeRef<'a>
impl<'a> Sync for BytecodeRef<'a>
impl<'a> Unpin for BytecodeRef<'a>
impl<'a> UnwindSafe for BytecodeRef<'a>
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