Struct spefparse::SPEFHeader

source ·
pub struct SPEFHeader {
Show 15 fields pub edition: CompactString, pub design: CompactString, pub date: CompactString, pub vendor: CompactString, pub program: CompactString, pub version: CompactString, pub design_flow: Vec<CompactString>, pub divider: char, pub delimiter: char, pub bus_delimiter_left: char, pub bus_delimiter_right: char, pub time_unit: f32, pub cap_unit: f32, pub res_unit: f32, pub induct_unit: f32,
}
Expand description

SPEF header (from *SPEF to *L_UNIT).

Fields§

§edition: CompactString§design: CompactString§date: CompactString§vendor: CompactString§program: CompactString§version: CompactString§design_flow: Vec<CompactString>§divider: char§delimiter: char§bus_delimiter_left: char§bus_delimiter_right: char§time_unit: f32§cap_unit: f32§res_unit: f32§induct_unit: f32

Trait Implementations§

source§

impl Debug for SPEFHeader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.