Struct libreda_lefdef::export::DEFExportOptions
source · pub struct DEFExportOptions<C: L2NBase> {
pub export_nets: bool,
pub keep_unconnected_nets: bool,
pub export_components: bool,
pub layer_mapping: HashMap<C::LayerId, String>,
pub outline_layer: Option<C::LayerId>,
}Expand description
Control the export into DEF structures.
Fields§
§export_nets: boolEnable the export of nets. Default is true.
keep_unconnected_nets: boolAlso export nets which don’t connect to anything else.
export_components: boolExport components (cell instances). Default is true.
layer_mapping: HashMap<C::LayerId, String>Provide alternative names for layers. For all other layers
the default name defined in the L2NBase type will be used.
outline_layer: Option<C::LayerId>Take the die-area from this layer. The layer must contain a single shape.
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for DEFExportOptions<C>
impl<C> RefUnwindSafe for DEFExportOptions<C>
impl<C> Send for DEFExportOptions<C>
impl<C> Sync for DEFExportOptions<C>
impl<C> Unpin for DEFExportOptions<C>
impl<C> UnwindSafe for DEFExportOptions<C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more