Skip to main content

XorObject

Trait XorObject 

Source
pub trait XorObject: Sized + Object {
    // Provided method
    fn xor<Other>(self, other: Other) -> Xor<Self, Other>
       where Other: Object { ... }
}

Provided Methods§

Source

fn xor<Other>(self, other: Other) -> Xor<Self, Other>
where Other: Object,

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.

Implementors§

Source§

impl<T> XorObject for T
where T: Object,