Struct probe_rs::config::Target[][src]

pub struct Target {
    pub name: String,
    pub flash_algorithms: Vec<RawFlashAlgorithm>,
    pub core_type: CoreType,
    pub memory_map: Vec<MemoryRegion>,
    // some fields omitted
}
Expand description

This describes a complete target with a fixed chip model and variant.

Fields

name: String

The name of the target.

flash_algorithms: Vec<RawFlashAlgorithm>

The name of the flash algorithm.

core_type: CoreType

The core type.

memory_map: Vec<MemoryRegion>

The memory map of the target.

Implementations

Create a new target

Get the architectre of the target

Source description of this target.

Create a FlashLoader for this target, which can be used to program its non-volatile memory.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.