Enum libreda_lefdef::lef_ast::RectOrPolygon
source · pub enum RectOrPolygon {
Rect((Point<f64>, Point<f64>)),
Polygon(Vec<Point<f64>>),
}Expand description
Either a rectangle or a polygon.
Variants§
Trait Implementations§
source§impl Clone for RectOrPolygon
impl Clone for RectOrPolygon
source§fn clone(&self) -> RectOrPolygon
fn clone(&self) -> RectOrPolygon
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 more