Skip to main content

ElementCheck

Type Alias ElementCheck 

Source
#[doc(hidden)]
pub type ElementCheck<'a> = dyn Fn(SEXP) -> Result<(), SexpError> + 'a;
Expand description

An element type’s check on an R value, as the newtype containers pass it to TryFromSexp::__mx_try_from_sexp_with_check: T::check_sexp, with the checks of any enclosing newtypes before it. Not public API.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: (unsized)