Struct avr_mcu::MemorySegment [] [src]

pub struct MemorySegment {
    pub name: String,
    pub start_address: u32,
    pub size: u32,
    pub ty: String,
    pub readable: bool,
    pub writable: bool,
    pub executable: bool,
    pub page_size: Option<u32>,
}

A segment of memory in a particular address space.

Fields

The name of the segment.

A pointer to the first byte in the segment.

The number of bytes in the segment.

The segment type.

Whether the segment can be read from.

Whether the segment can be written to.

Whether the segment can be executed.

How large pages are in this segment.

Trait Implementations

impl Clone for MemorySegment
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MemorySegment
[src]

[src]

Formats the value using the given formatter.

impl PartialOrd for MemorySegment
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for MemorySegment
[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 Eq for MemorySegment
[src]

impl Hash for MemorySegment
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more