#[doc(hidden)]pub trait VecOptionInner: Sized {
const VEC_OPTION_NATIVE_BORROW: Option<NativeBorrow>;
const VEC_OPTION_CHARACTER_ONLY: bool;
// Required methods
fn vec_option_try_from_sexp(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Option<Self>>, SexpError>;
unsafe fn vec_option_try_from_sexp_unchecked(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Option<Self>>, SexpError>;
}Expand description
Vec<Option<Self>>: TryFromSexp with an error that converts into
SexpError, with Self as the bound’s self type.
Plumbing for the Vec<Option<T>> blanket below: see the module docs
(#1682).
Required Associated Constants§
Sourceconst VEC_OPTION_NATIVE_BORROW: Option<NativeBorrow>
const VEC_OPTION_NATIVE_BORROW: Option<NativeBorrow>
<Vec<Option<Self>> as TryFromSexp>::NATIVE_BORROW.
Sourceconst VEC_OPTION_CHARACTER_ONLY: bool
const VEC_OPTION_CHARACTER_ONLY: bool
<Vec<Option<Self>> as TryFromSexp>::CHARACTER_ONLY.
Required Methods§
Sourcefn vec_option_try_from_sexp(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Option<Self>>, SexpError>
fn vec_option_try_from_sexp( sexp: SEXP, check: &ElementCheck<'_>, ) -> Result<Vec<Option<Self>>, SexpError>
<Vec<Option<Self>> as TryFromSexp>::__mx_try_from_sexp_with_check:
the vector, with check run where Vec<Option<Self>> keeps an
element’s class.
Sourceunsafe fn vec_option_try_from_sexp_unchecked(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Option<Self>>, SexpError>
unsafe fn vec_option_try_from_sexp_unchecked( sexp: SEXP, check: &ElementCheck<'_>, ) -> Result<Vec<Option<Self>>, SexpError>
<Vec<Option<Self>> as TryFromSexp>::__mx_try_from_sexp_unchecked_with_check.
§Safety
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".