pub trait UpdateFrom<T>: From<T> {
// Required method
fn update_from(&mut self, from: T);
}
Expand description
Used to update self
from the input value while consuming the input value.
Required Methods§
fn update_from(&mut self, from: T)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.