Struct sputnikvm::SeqMemory [] [src]

pub struct SeqMemory<P: Patch> { /* fields omitted */ }

A sequencial memory. It uses Rust's Vec for internal representation.

Methods

impl<P: Patch> SeqMemory<P>
[src]

[src]

Get the length of the current effective memory range.

Trait Implementations

impl<P: Patch> Default for SeqMemory<P>
[src]

[src]

Returns the "default value" for a type. Read more

impl<P: Patch> Memory for SeqMemory<P>
[src]

[src]

Check whether write on this index would result in an error. If this function returns Ok, then both write and write_raw on this index should succeed. Read more

[src]

Check whether write on the given index range would result in an error. If this function returns Ok, then both write and write_raw on the given index range should succeed. Read more

[src]

Write value into the index.

[src]

Write only one byte value into the index.

[src]

Read value from the index.

[src]

Read only one byte value from the index.