Struct sputnikvm::Valids

source ·
pub struct Valids(_);
Expand description

Mapping of valid jump destination from code.

Implementations

Create a new valid mapping from given code bytes.

Get the length of the valid mapping. This is the same as the code bytes.

Returns true if the valids list is empty

Returns true if the position is a valid jump destination. If not, returns false.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.