pub struct LEFDesignRuleAdapter<'a, L: LayoutBase> { /* private fields */ }Expand description
Provides standardized read access to the design-rules defined in a LEF structure.
Implementations§
Trait Implementations§
Source§impl<'a, L> DefaultWidth for LEFDesignRuleAdapter<'a, L>
impl<'a, L> DefaultWidth for LEFDesignRuleAdapter<'a, L>
Source§impl<'a, L: LayoutBase> DistanceRuleBase for LEFDesignRuleAdapter<'a, L>
impl<'a, L: LayoutBase> DistanceRuleBase for LEFDesignRuleAdapter<'a, L>
Source§impl<'a, L: LayoutBase> MinimumSpacing for LEFDesignRuleAdapter<'a, L>
impl<'a, L: LayoutBase> MinimumSpacing for LEFDesignRuleAdapter<'a, L>
Source§impl<'a, L> MinimumWidth for LEFDesignRuleAdapter<'a, L>
impl<'a, L> MinimumWidth for LEFDesignRuleAdapter<'a, L>
Source§impl<'a, L: LayoutBase> PreferredRoutingDirection for LEFDesignRuleAdapter<'a, L>
impl<'a, L: LayoutBase> PreferredRoutingDirection for LEFDesignRuleAdapter<'a, L>
Source§fn preferred_routing_direction(
&self,
layer_id: &Self::LayerId,
) -> Option<Orientation2D>
fn preferred_routing_direction( &self, layer_id: &Self::LayerId, ) -> Option<Orientation2D>
Get the preferred routing direction on this metal layer.
Source§impl<'a, L: LayoutBase> RoutingLayerStack for LEFDesignRuleAdapter<'a, L>
impl<'a, L: LayoutBase> RoutingLayerStack for LEFDesignRuleAdapter<'a, L>
Source§fn layer_stack(&self) -> Vec<RoutingLayer<Self::LayerId>>
fn layer_stack(&self) -> Vec<RoutingLayer<Self::LayerId>>
Get the stack of routing and via layers in process order.
Source§fn layer_stack_ids(&self) -> Vec<Self::LayerId>
fn layer_stack_ids(&self) -> Vec<Self::LayerId>
Get the layer ids of the layer stack (routing layers and via layers).
Source§fn routing_layer_stack(&self) -> Vec<Self::LayerId>
fn routing_layer_stack(&self) -> Vec<Self::LayerId>
Get the stack of routing metal layers in process order.
Source§fn via_layer_stack(&self) -> Vec<Self::LayerId>
fn via_layer_stack(&self) -> Vec<Self::LayerId>
Get the stack of via layers in process order.
Source§impl<'a, L> RoutingRules for LEFDesignRuleAdapter<'a, L>
impl<'a, L> RoutingRules for LEFDesignRuleAdapter<'a, L>
Source§impl<'a, L: LayoutBase> RuleBase for LEFDesignRuleAdapter<'a, L>
impl<'a, L: LayoutBase> RuleBase for LEFDesignRuleAdapter<'a, L>
Auto Trait Implementations§
impl<'a, L> Freeze for LEFDesignRuleAdapter<'a, L>
impl<'a, L> RefUnwindSafe for LEFDesignRuleAdapter<'a, L>
impl<'a, L> Send for LEFDesignRuleAdapter<'a, L>
impl<'a, L> Sync for LEFDesignRuleAdapter<'a, L>
impl<'a, L> Unpin for LEFDesignRuleAdapter<'a, L>
impl<'a, L> UnwindSafe for LEFDesignRuleAdapter<'a, L>
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