Struct embedded_builder::region::Region [] [src]

pub struct Region<T: 'static>(_);

Region type describes a memory region containing an array of objects This can be used to memory map lists of objects, for example, pixels in a framebuffer

Methods

impl<T> Region<T>
[src]

[src]

Read an object from the provided (absolute) address

[src]

Write an object to the provided (absolute) address

[src]

Create a new indexable memory region of the provided type

[src]

Read an object from the provided index

[src]

Write an object to the provided index

Trait Implementations

impl<T: Debug + 'static> Debug for Region<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: PartialEq + 'static> PartialEq for Region<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T> From<(usize, usize)> for Region<T>
[src]

From implementation creates regions from tuples of (address: usize, size: usize)

[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Region<T> where
    T: Send

impl<T> Sync for Region<T> where
    T: Sync