Enum libreda_lefdef::def_ast::ComponentSource
source · pub enum ComponentSource {
Netlist,
Dist,
User,
Timing,
}Expand description
Source of a component.
Variants§
Netlist
Component comes from the original netlist. This is the default value.
Dist
Physical component that connects only to power and ground nets. (Filler cells, well-taps, decoupling capacitors).
User
Component generated by the user for some other reason.
Timing
Component was inserted to meet timing constraints.
Trait Implementations§
source§impl Clone for ComponentSource
impl Clone for ComponentSource
source§fn clone(&self) -> ComponentSource
fn clone(&self) -> ComponentSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ComponentSource
impl Debug for ComponentSource
source§impl Default for ComponentSource
impl Default for ComponentSource
source§impl Display for ComponentSource
impl Display for ComponentSource
source§impl FromStr for ComponentSource
impl FromStr for ComponentSource
source§impl PartialEq for ComponentSource
impl PartialEq for ComponentSource
source§fn eq(&self, other: &ComponentSource) -> bool
fn eq(&self, other: &ComponentSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ComponentSource
impl Eq for ComponentSource
impl StructuralPartialEq for ComponentSource
Auto Trait Implementations§
impl Freeze for ComponentSource
impl RefUnwindSafe for ComponentSource
impl Send for ComponentSource
impl Sync for ComponentSource
impl Unpin for ComponentSource
impl UnwindSafe for ComponentSource
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