Trait typed_graph::DowncastMut
source · pub trait DowncastMut<'b, NK, EK, T, S>{
// Required method
fn downcast_mut<'a: 'b>(&'a mut self) -> SchemaResult<T, NK, EK, S>;
}
Required Methods§
sourcefn downcast_mut<'a: 'b>(&'a mut self) -> SchemaResult<T, NK, EK, S>
fn downcast_mut<'a: 'b>(&'a mut self) -> SchemaResult<T, NK, EK, S>
Cast a node or edge into a more specific type
The call will fail if the requested type is not a suptype of the current one