pub trait FunctionArgumentHolder: Sized {
    const INIT: Self;
}
Expand description

Trait for types which can be a function argument holder - they should to be able to const-initialize to an empty value.

Required Associated Constants§

source

const INIT: Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FunctionArgumentHolder for ()

source§

const INIT: Self = ()

source§

impl<T> FunctionArgumentHolder for Option<T>

source§

const INIT: Self = None

Implementors§

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here