Struct libreda_sta::timing_graph::EdgeData
source · pub(crate) struct EdgeData<T: ConstraintBase> {
pub edge_type: GraphEdgeType,
pub sync_data: DataCell<SyncEdgeData<T>>,
}Fields§
§edge_type: GraphEdgeType§sync_data: DataCell<SyncEdgeData<T>>Implementations§
source§impl<T> EdgeData<T>where
T: ConstraintBase,
impl<T> EdgeData<T>where T: ConstraintBase,
pub fn new(edge_type: GraphEdgeType) -> Self
Trait Implementations§
source§impl<D> BorrowDataCell for EdgeData<D>where
D: TimingBase + ConstraintBase,
impl<D> BorrowDataCell for EdgeData<D>where D: TimingBase + ConstraintBase,
§type UserData = SyncEdgeData<D>
type UserData = SyncEdgeData<D>
Data type which is wrapped to get synchronized access.
source§fn borrow_data_cell(&self) -> &DataCell<Self::UserData>
fn borrow_data_cell(&self) -> &DataCell<Self::UserData>
Get a reference to a [
DataCell] structure.