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
name: String
The name of the segment.
start_address: u32
A pointer to the first byte in the segment.
size: u32
The number of bytes in the segment.
ty: String
The segment type.
readable: bool
Whether the segment can be read from.
writable: bool
Whether the segment can be written to.
executable: bool
Whether the segment can be executed.
page_size: Option<u32>
How large pages are in this segment.
Trait Implementations
impl Clone for MemorySegment
[src]
fn clone(&self) -> MemorySegment
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MemorySegment
[src]
impl PartialOrd for MemorySegment
[src]
fn partial_cmp(&self, __arg_0: &MemorySegment) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &MemorySegment) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &MemorySegment) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &MemorySegment) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &MemorySegment) -> bool
[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]
fn eq(&self, __arg_0: &MemorySegment) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MemorySegment) -> bool
[src]
This method tests for !=
.