Skip to main content

ToDatumRef

Trait ToDatumRef 

Source
pub trait ToDatumRef:
    PartialEq
    + Eq
    + Debug
    + Send
    + Sync {
    // Required method
    fn to_datum_ref(&self) -> DatumRef<'_>;
}

Required Methods§

Source

fn to_datum_ref(&self) -> DatumRef<'_>

Convert the datum to DatumRef.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToDatumRef for Option<&ScalarImpl>

Source§

impl<'a, T: 'a + ToDatumRef + ?Sized> ToDatumRef for &'a T
where &'a T: PartialEq + Eq + Debug + Send + Sync,

Implementors§