3
Problems with borrowing Traits
(lemmy.world)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Seems like
data: Tordata: &'a mut Tshould work for you. Your function should be acceptingmut selfor&mut self.