pub struct ArbitraryPointer<'a, T> {
pub ptr: *mut T,
pub status: AllocationStatus,
pub is_initialized: bool,
/* private fields */
}
Expand description
Holds information about a pointer that is generated non-deterministically.
Fields§
§ptr: *mut T
The pointer that was generated.
status: AllocationStatus
The expected allocation status.
is_initialized: bool
Whether the pointer was generated with an initialized value or not.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for ArbitraryPointer<'a, T>
impl<'a, T> RefUnwindSafe for ArbitraryPointer<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for ArbitraryPointer<'a, T>
impl<'a, T> !Sync for ArbitraryPointer<'a, T>
impl<'a, T> Unpin for ArbitraryPointer<'a, T>
impl<'a, T> UnwindSafe for ArbitraryPointer<'a, T>where
T: RefUnwindSafe,
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