pub struct Core {
pub name: String,
pub core_type: CoreType,
pub core_access_options: CoreAccessOptions,
}
Expand description
An individual core inside a chip
Fields
name: String
The core name.
core_type: CoreType
The core type.
E.g. M0
or M4
.
core_access_options: CoreAccessOptions
The AP number to access the core
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Core
impl<'de> Deserialize<'de> for Core
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Core, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Core, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Core
impl Serialize for Core
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
Auto Trait Implementations
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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