Skip to main content

NullAnd

Trait NullAnd 

Source
pub trait NullAnd<Rhs: Nullability>: Nullability {
    type Output: Nullability;
}
Expand description

Combine nullability for COALESCE-style fallback behavior.

Result is nullable only when both inputs are nullable.

Required Associated Types§

Source

type Output: Nullability

The resulting nullability.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§