Trait ffi_helpers::Nullable[][src]

pub trait Nullable {
    const NULL: Self;

    fn is_null(&self) -> bool;
}
Expand description

An object which has an “obviously invalid” value, for use with the null_pointer_check!() macro.

This trait is implemented for all integer types and raw pointers, returning 0 and null respectively.

Associated Constants

Required methods

Implementations on Foreign Types

Implementors