SeedXor

Trait SeedXor 

Source
pub trait SeedXor {
    // Required method
    fn xor(&self, rhs: &Self) -> Self;
}
Expand description

Trait for a XOR.

Required Methods§

Source

fn xor(&self, rhs: &Self) -> Self

XOR two values without consuming them.

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.

Implementations on Foreign Types§

Source§

impl SeedXor for Mnemonic

Source§

fn xor(&self, rhs: &Self) -> Self

XOR self with another bip39::Mnemonic without consuming it or itself.

Implementors§