pub struct XBc32BoundNeTrap {
pub addr: XReg,
pub bound_ptr: XReg,
pub bound_off: u8,
pub size: u8,
}
Expand description
trapif(addr > *(bound_ptr + bound_off) - size)
(unsigned)
Note that the bound_ptr + bound_off
load loads a
host-native-endian pointer-sized value.
Fields§
§addr: XReg
§bound_ptr: XReg
§bound_off: u8
§size: u8
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for XBc32BoundNeTrap
impl<'arbitrary> Arbitrary<'arbitrary> for XBc32BoundNeTrap
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for XBc32BoundNeTrap
impl Clone for XBc32BoundNeTrap
Source§fn clone(&self) -> XBc32BoundNeTrap
fn clone(&self) -> XBc32BoundNeTrap
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 XBc32BoundNeTrap
impl Debug for XBc32BoundNeTrap
Source§impl Encode for XBc32BoundNeTrap
Available on crate feature encode
only.
impl Encode for XBc32BoundNeTrap
Available on crate feature
encode
only.Source§impl From<XBc32BoundNeTrap> for Op
impl From<XBc32BoundNeTrap> for Op
Source§fn from(op: XBc32BoundNeTrap) -> Self
fn from(op: XBc32BoundNeTrap) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XBc32BoundNeTrap
impl PartialEq for XBc32BoundNeTrap
impl Copy for XBc32BoundNeTrap
impl Eq for XBc32BoundNeTrap
impl StructuralPartialEq for XBc32BoundNeTrap
Auto Trait Implementations§
impl Freeze for XBc32BoundNeTrap
impl RefUnwindSafe for XBc32BoundNeTrap
impl Send for XBc32BoundNeTrap
impl Sync for XBc32BoundNeTrap
impl Unpin for XBc32BoundNeTrap
impl UnwindSafe for XBc32BoundNeTrap
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