Struct avr_mcu::MemorySegment
[−]
[src]
pub struct MemorySegment { pub start_address: u32, pub size: u32, pub ty: String, pub readable: bool, pub writable: bool, pub executable: bool, pub name: String, pub page_size: Option<u32>, }
A segment of memory in a particular address space.
Fields
start_address: u32
size: u32
ty: String
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.
name: String
page_size: Option<u32>
Trait Implementations
impl Clone for MemorySegment
[src]
fn clone(&self) -> MemorySegment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
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>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &MemorySegment) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &MemorySegment) -> bool
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
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &MemorySegment) -> bool
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
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MemorySegment) -> bool
This method tests for !=
.