pub struct XBc32BoundTrap {
pub addr: XReg,
pub bound: XReg,
pub size: u8,
}
Expand description
trapif(addr > bound_ptr - size)
(unsigned)
Fields§
§addr: XReg
§bound: XReg
§size: u8
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for XBc32BoundTrap
impl<'arbitrary> Arbitrary<'arbitrary> for XBc32BoundTrap
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 XBc32BoundTrap
impl Clone for XBc32BoundTrap
Source§fn clone(&self) -> XBc32BoundTrap
fn clone(&self) -> XBc32BoundTrap
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 XBc32BoundTrap
impl Debug for XBc32BoundTrap
Source§impl Encode for XBc32BoundTrap
Available on crate feature encode
only.
impl Encode for XBc32BoundTrap
Available on crate feature
encode
only.Source§impl From<XBc32BoundTrap> for Op
impl From<XBc32BoundTrap> for Op
Source§fn from(op: XBc32BoundTrap) -> Self
fn from(op: XBc32BoundTrap) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XBc32BoundTrap
impl PartialEq for XBc32BoundTrap
impl Copy for XBc32BoundTrap
impl Eq for XBc32BoundTrap
impl StructuralPartialEq for XBc32BoundTrap
Auto Trait Implementations§
impl Freeze for XBc32BoundTrap
impl RefUnwindSafe for XBc32BoundTrap
impl Send for XBc32BoundTrap
impl Sync for XBc32BoundTrap
impl Unpin for XBc32BoundTrap
impl UnwindSafe for XBc32BoundTrap
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