Trait libreda_db::layout::util::LayoutEditUtil
source · pub trait LayoutEditUtil: LayoutEdit {
// Provided method
fn find_or_create_layer(
&mut self,
index: u32,
datatype: u32,
) -> Self::LayerId { ... }
}
Expand description
Helper functions for layouts.
This trait is automatically implemented for all types which implement LayoutEdit
.
Provided Methods§
sourcefn find_or_create_layer(&mut self, index: u32, datatype: u32) -> Self::LayerId
fn find_or_create_layer(&mut self, index: u32, datatype: u32) -> Self::LayerId
Create a layer or return an existing one.
Object Safety§
This trait is not object safe.