Trait attribute_derive::TryExtendOne
source · pub trait TryExtendOne {
// Required method
fn try_extend_one(&mut self, other: Self) -> Result<()>;
}
Expand description
Trait to join two structs of the same type
Required Methods§
sourcefn try_extend_one(&mut self, other: Self) -> Result<()>
fn try_extend_one(&mut self, other: Self) -> Result<()>
Try to extend self with another Self, failing if there are conflicts