Trait ToPair

Source
pub trait ToPair {
    // Provided method
    fn to_pair(&self) -> Pair { ... }
}
Expand description

Trait for casting: Defines how to convert when cast to a Pair.

Provided Methods§

Source

fn to_pair(&self) -> Pair

Implementations on Foreign Types§

Source§

impl ToPair for &str

Source§

impl ToPair for bool

Source§

impl ToPair for f32

Source§

impl ToPair for f64

Source§

impl ToPair for i8

Source§

impl ToPair for i16

Source§

impl ToPair for i32

Source§

impl ToPair for i64

Source§

impl ToPair for isize

Source§

impl ToPair for u8

Source§

impl ToPair for u16

Source§

impl ToPair for u32

Source§

impl ToPair for u64

Source§

impl ToPair for usize

Source§

impl ToPair for String

Implementors§