Skip to main content

Ghost

Struct Ghost 

pub struct Ghost<A> { /* private fields */ }

Implementations§

§

impl<A> Ghost<A>

pub fn view(self) -> A

pub const fn new(_a: A) -> Ghost<A>

pub fn borrow(&self) -> &A

pub fn borrow_mut(&mut self) -> &mut A

Trait Implementations§

§

impl<A> Clone for Ghost<A>

§

fn clone(&self) -> Ghost<A>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<A> Deref for Ghost<A>

Available on verus_keep_ghost only.

Dereferencing a Ghost<A> returns a reference to a ghost-mode location.

Note: This special behavior requires support from Verus, and this trait impl cannot be used generically.

§

type Target = A

The resulting type after dereferencing.
§

fn deref(&self) -> &<Ghost<A> as Deref>::Target

Dereferences the value.
§

impl<A> DerefMut for Ghost<A>

Available on verus_keep_ghost only.

Dereferencing a Ghost<A> returns a reference to a ghost-mode location.

Note: This special behavior requires support from Verus, and this trait impl cannot be used generically.

§

fn deref_mut(&mut self) -> &mut <Ghost<A> as Deref>::Target

Mutably dereferences the value.
§

impl<A> Copy for Ghost<A>

§

impl<A> Send for Ghost<A>

Ghost structs are always Send, since they are spec mode.

§

impl<A> SpecEq<A> for Ghost<A>

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<char>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i128>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i16>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i32>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i64>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<i8>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<int>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<isize>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<nat>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u128>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u16>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u32>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u64>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<u8>> for usize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for char

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for i128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for i16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for i32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for i64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for i8

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for int

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for isize

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for nat

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for u128

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for u16

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for u32

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for u64

Available on verus_keep_ghost only.
§

impl SpecEq<Ghost<usize>> for u8

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<char> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<i128> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<i16> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<i32> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<i64> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<i8> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<int> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<isize> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<nat> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<u128> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<u16> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<u32> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl SpecEq<u64> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<u8> for Ghost<usize>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<char>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<i128>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<i16>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<i32>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<i64>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<i8>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<int>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<isize>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<nat>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<u128>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<u16>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<u32>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<u64>

Available on verus_keep_ghost only.
§

impl SpecEq<usize> for Ghost<u8>

Available on verus_keep_ghost only.
§

impl<A> Sync for Ghost<A>

Ghost structs are always Sync, since they are spec mode.

Auto Trait Implementations§

§

impl<A> Freeze for Ghost<A>

§

impl<A> RefUnwindSafe for Ghost<A>
where A: RefUnwindSafe,

§

impl<A> Unpin for Ghost<A>
where A: Unpin,

§

impl<A> UnsafeUnpin for Ghost<A>

§

impl<A> UnwindSafe for Ghost<A>
where A: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, VERUS_SPEC__A> FromSpec<T> for VERUS_SPEC__A
where VERUS_SPEC__A: From<T>,

Source§

exec fn obeys_from_spec() -> bool

Source§

exec fn from_spec(v: T) -> VERUS_SPEC__A

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, VERUS_SPEC__A> IntoSpec<T> for VERUS_SPEC__A
where VERUS_SPEC__A: Into<T>,

Source§

exec fn obeys_into_spec() -> bool

Source§

exec fn into_spec(self) -> T

Source§

impl<T, U> IntoSpecImpl<U> for T
where U: From<T>,

Source§

open spec fn obeys_into_spec() -> bool

{ <U as FromSpec<Self>>::obeys_from_spec() }
Source§

open spec fn into_spec(self) -> U

{ U::from_spec(self) }
Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, VERUS_SPEC__A> TryFromSpec<T> for VERUS_SPEC__A
where VERUS_SPEC__A: TryFrom<T>,

Source§

exec fn obeys_try_from_spec() -> bool

Source§

exec fn try_from_spec( v: T, ) -> Result<VERUS_SPEC__A, <VERUS_SPEC__A as TryFrom<T>>::Error>

Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, VERUS_SPEC__A> TryIntoSpec<T> for VERUS_SPEC__A
where VERUS_SPEC__A: TryInto<T>,

Source§

exec fn obeys_try_into_spec() -> bool

Source§

exec fn try_into_spec(self) -> Result<T, <VERUS_SPEC__A as TryInto<T>>::Error>

Source§

impl<T, U> TryIntoSpecImpl<U> for T
where U: TryFrom<T>,

Source§

open spec fn obeys_try_into_spec() -> bool

{ <U as TryFromSpec<Self>>::obeys_try_from_spec() }
Source§

open spec fn try_into_spec(self) -> Result<U, <U as TryFrom<T>>::Error>

{ <U as TryFromSpec<Self>>::try_from_spec(self) }
§

impl<A> SpecEq<&A> for A
where A: ?Sized,

§

impl<A> SpecEq<&mut A> for A
where A: ?Sized,

§

impl<A> SpecEq<A> for A
where A: ?Sized,

§

impl<A> SpecEq<Ghost<A>> for A

§

impl<A> SpecEq<Tracked<A>> for A