Enum libreda_lefdef::def_ast::RegionType
source · pub enum RegionType {
Fence,
Guide,
}Expand description
Type of the region. A region defines a physical are where components should be placed. Fence regions force components to be placed inside, guides are not hard constraints.
Variants§
Fence
Hard constraint. Only components assigned to this region are allowed to be placed here.
Guide
Soft constraint (can be violated if necessary).
Trait Implementations§
source§impl Clone for RegionType
impl Clone for RegionType
source§fn clone(&self) -> RegionType
fn clone(&self) -> RegionType
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 RegionType
impl Debug for RegionType
source§impl Display for RegionType
impl Display for RegionType
source§impl FromStr for RegionType
impl FromStr for RegionType
source§impl PartialEq for RegionType
impl PartialEq for RegionType
source§fn eq(&self, other: &RegionType) -> bool
fn eq(&self, other: &RegionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for RegionType
impl Eq for RegionType
impl StructuralPartialEq for RegionType
Auto Trait Implementations§
impl Freeze for RegionType
impl RefUnwindSafe for RegionType
impl Send for RegionType
impl Sync for RegionType
impl Unpin for RegionType
impl UnwindSafe for RegionType
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