Trait CheckAtom

Source
pub trait CheckAtom:
    CheckNull
    + Sized
    + Clone
    + PartialEq
    + Debug
    + Send
    + Sync {
    // Provided methods
    fn is_bounded(&self, _bounds: Bounds<Self>) -> Fallible<bool> { ... }
    fn check_member(
        &self,
        bounds: Option<Bounds<Self>>,
        nan: bool,
    ) -> Fallible<bool> { ... }
}

Provided Methods§

Source

fn is_bounded(&self, _bounds: Bounds<Self>) -> Fallible<bool>

Source

fn check_member( &self, bounds: Option<Bounds<Self>>, nan: bool, ) -> Fallible<bool>

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 CheckAtom for &str

Source§

impl CheckAtom for (f32, f32)

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for (f64, f64)

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for bool

Source§

impl CheckAtom for char

Source§

impl CheckAtom for f32

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for f64

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for i8

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for i16

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for i32

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for i64

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for i128

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for isize

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for u8

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for u16

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for u32

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for u64

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for u128

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for usize

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for String

Source§

impl CheckAtom for NaiveDate

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for NaiveTime

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for IBig

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Source§

impl CheckAtom for RBig

Source§

fn is_bounded(&self, bounds: Bounds<Self>) -> Fallible<bool>

Implementors§