Function il2_iltags::tags::tag_downcast_mut [−][src]
pub fn tag_downcast_mut<T: ILTag>(tag: &mut dyn ILTag) -> Option<&mut T>
Expand description
Downcasts a ILTag
into a mutable a reference to its concrete type.
Arguments:
tag
: The tag to be downcast;
Returns: An option with a reference to the concrete type or None if the conversion is not possible.