pub struct CpuBuilder { /* private fields */ }
Expand description

Builder for Cpu

Implementations

Set the name of the cpu.

Set the revision of the cpu.

Set the endian of the cpu.

Set the mpu_present of the cpu.

Set the fpu_present of the cpu.

Set the fpu_double_precision of the cpu.

Set the dsp_present of the cpu.

Set the icache_present of the cpu.

Set the dcache_present of the cpu.

Set the itcm_present of the cpu.

Set the dtcm_present of the cpu.

Set the vtor_present of the cpu.

Set the nvic_priority_bits of the cpu.

Set the has_vendor_systick of the cpu.

Set the device_num_interrupts of the cpu.

Set the sau_num_regions of the cpu.

Validate and build a Cpu.

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

Returns the “default value” for a type. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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)

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.