Struct lef21::LefLibrary[][src]

pub struct LefLibrary {
    pub macros: Vec<LefMacro>,
    pub sites: Vec<LefSite>,
    pub version: Option<LefDecimal>,
    pub names_case_sensitive: Option<LefOnOff>,
    pub no_wire_extension_at_pin: Option<LefOnOff>,
    pub bus_bit_chars: Option<(char, char)>,
    pub divider_char: Option<char>,
    pub units: Option<LefUnits>,
    pub vias: Unsupported,
    pub extensions: Unsupported,
}
Expand description

Lef Library

LEF’s primary design-content container, including a set of macro/cell definitions and associated metadata.

Fields

macros: Vec<LefMacro>

Macro Definitions

sites: Vec<LefSite>

Site Definitions

version: Option<LefDecimal>

Lef Spec Version

names_case_sensitive: Option<LefOnOff>

Case-Sensitive Name Setting
Valid for LEF versions 5.4 and earlier

no_wire_extension_at_pin: Option<LefOnOff>

Wire-Extension Pin Settings
Valid for LEF versions 5.4 and earlier

bus_bit_chars: Option<(char, char)>

Bus-Bit Separator Characters

divider_char: Option<char>

Divider Character

units: Option<LefUnits>

Dimensional Units Recommended to be specified in a tech-lef. But turns up in libraries as well.

vias: Unsupported

Via Definitions (Unsupported)

extensions: Unsupported

Syntax Extensions (Unsupported)

Implementations

Create a new and initially empty LefLibrary.
Also available via Default.

Open a LefLibrary from file fname

Write a LefLibrary to file fname.

Write a LefLibrary to a LEF-format String.

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

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Save in fmt-format to file fname

Open from fmt-format file fname

Serialize this value into the given Serde serializer. Read more

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

Compare self to key and return true if they are equal.

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.