pub struct RamRegion {
pub name: Option<String>,
pub range: Range<u64>,
pub is_boot_memory: bool,
pub cores: Vec<String, Global>,
}
Expand description
Represents a region in RAM.
Fields
name: Option<String>
A name to describe the region
range: Range<u64>
Address range of the region
is_boot_memory: bool
True if the chip boots from this memory
cores: Vec<String, Global>
List of cores that can access this region
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RamRegion
impl<'de> Deserialize<'de> for RamRegion
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<RamRegion, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RamRegion, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for RamRegion
impl Serialize for RamRegion
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for RamRegion
impl StructuralEq for RamRegion
impl StructuralPartialEq for RamRegion
Auto Trait Implementations
impl RefUnwindSafe for RamRegion
impl Send for RamRegion
impl Sync for RamRegion
impl Unpin for RamRegion
impl UnwindSafe for RamRegion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.