Trait gdnative_core::export::user_data::MapMut
source · pub trait MapMut: UserData {
type Err: Debug;
fn map_mut<F, U>(&self, op: F) -> Result<U, Self::Err>
where
F: FnOnce(&mut Self::Target) -> U;
}
Expand description
Trait for wrappers that can be mapped mutably.