pub trait DowncastMut<'b, NK, EK, T, S>
where NK: Key, EK: Key, T: 'b, S: SchemaExt<NK, EK>,
{ // Required method fn downcast_mut<'a: 'b>(&'a mut self) -> SchemaResult<T, NK, EK, S>; }

Required Methods§

source

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

Implementors§