Enum libreda_lefdef::def_ast::RectOrPolygon
source · pub enum RectOrPolygon {
Rect(Rect<Coord>),
Polygon(SimplePolygon<Coord>),
}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