pub trait With<T> {
// Required method
fn with(self, _: T) -> Self;
}
Expand description
A trait for updating an object, consuming it and returning the updated version.
Required Methods§
Object Safety§
This trait is not object safe.
pub trait With<T> {
// Required method
fn with(self, _: T) -> Self;
}
A trait for updating an object, consuming it and returning the updated version.