pub trait MutColumnarGraph: ColumnarGraph<Src: MutMapping<Dom = Self::E, Cod = Self::V>, Tgt: MutMapping<Dom = Self::E, Cod = Self::V>> {
// Required methods
fn src_map_mut(&mut self) -> &mut Self::Src;
fn tgt_map_mut(&mut self) -> &mut Self::Tgt;
// Provided methods
fn set_src(&mut self, e: Self::E, v: Self::V) -> Option<Self::V> { ... }
fn set_tgt(&mut self, e: Self::E, v: Self::V) -> Option<Self::V> { ... }
}
Expand description
A columnar graph with mutable columns.
Required Methods§
Sourcefn src_map_mut(&mut self) -> &mut Self::Src
fn src_map_mut(&mut self) -> &mut Self::Src
Variant of src_map
that returns a mutable
reference.
Sourcefn tgt_map_mut(&mut self) -> &mut Self::Tgt
fn tgt_map_mut(&mut self) -> &mut Self::Tgt
Variant of tgt_map
that returns a mutable
reference.