pub trait ToPair {
// Provided method
fn to_pair(&self) -> Pair { ... }
}
Expand description
Trait for casting: Defines how to convert when cast to a Pair.
pub trait ToPair {
// Provided method
fn to_pair(&self) -> Pair { ... }
}
Trait for casting: Defines how to convert when cast to a Pair.