Struct dcpu::emulator::Ram
[−]
[src]
pub struct Ram(_);
Methods
impl Ram[src]
fn copy<'a, T: Iterator<Item = &'a u16>>(&mut self, items: T, offset: u16)
fn iter_wrap(
&self,
offset: u16
) -> Chain<Skip<Iter<'a, u16>>, Take<Iter<'a, u16>>>
&self,
offset: u16
) -> Chain<Skip<Iter<'a, u16>>, Take<Iter<'a, u16>>>
fn as_mut_ptr(&mut self) -> *mut u16
Trait Implementations
impl Default for Ram[src]
impl Deref for Ram[src]
type Target = [u16; 65536]
The resulting type after dereferencing
fn deref(&self) -> &[u16; 65536]
The method called to dereference a value
impl DerefMut for Ram[src]
impl Index<u16> for Ram[src]
type Output = u16
The returned type after indexing
fn index(&self, i: u16) -> &u16
The method for the indexing (container[index]) operation
impl Index<Wrapping<u16>> for Ram[src]
type Output = u16
The returned type after indexing
fn index(&self, i: Wrapping<u16>) -> &u16
The method for the indexing (container[index]) operation
impl Index<Range<u16>> for Ram[src]
type Output = [u16]
The returned type after indexing
fn index(&self, i: Range<u16>) -> &[u16]
The method for the indexing (container[index]) operation
impl Index<RangeFrom<u16>> for Ram[src]
type Output = [u16]
The returned type after indexing
fn index(&self, i: RangeFrom<u16>) -> &[u16]
The method for the indexing (container[index]) operation
impl Index<RangeTo<u16>> for Ram[src]
type Output = [u16]
The returned type after indexing
fn index(&self, i: RangeTo<u16>) -> &[u16]
The method for the indexing (container[index]) operation
impl IndexMut<u16> for Ram[src]
fn index_mut(&mut self, i: u16) -> &mut u16
The method for the mutable indexing (container[index]) operation
impl IndexMut<Wrapping<u16>> for Ram[src]
fn index_mut(&mut self, i: Wrapping<u16>) -> &mut u16
The method for the mutable indexing (container[index]) operation
impl IndexMut<Range<u16>> for Ram[src]
fn index_mut(&mut self, i: Range<u16>) -> &mut [u16]
The method for the mutable indexing (container[index]) operation
impl IndexMut<RangeFrom<u16>> for Ram[src]
fn index_mut(&mut self, i: RangeFrom<u16>) -> &mut [u16]
The method for the mutable indexing (container[index]) operation