#[doc(hidden)]pub trait VecInner: Sized {
const VEC_NATIVE_BORROW: Option<NativeBorrow>;
const VEC_CHARACTER_ONLY: bool;
// Required methods
fn vec_try_from_sexp(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Self>, SexpError>;
unsafe fn vec_try_from_sexp_unchecked(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Self>, SexpError>;
}Expand description
Vec<Self>: TryFromSexp with an error that converts into SexpError,
with Self as the bound’s self type.
Plumbing for the Vec<T> blanket below: see the module docs (#1682).
Required Associated Constants§
Sourceconst VEC_NATIVE_BORROW: Option<NativeBorrow>
const VEC_NATIVE_BORROW: Option<NativeBorrow>
<Vec<Self> as TryFromSexp>::NATIVE_BORROW.
Sourceconst VEC_CHARACTER_ONLY: bool
const VEC_CHARACTER_ONLY: bool
<Vec<Self> as TryFromSexp>::CHARACTER_ONLY.
Required Methods§
Sourcefn vec_try_from_sexp(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Self>, SexpError>
fn vec_try_from_sexp( sexp: SEXP, check: &ElementCheck<'_>, ) -> Result<Vec<Self>, SexpError>
<Vec<Self> as TryFromSexp>::__mx_try_from_sexp_with_check: the
vector, with check run where Vec<Self> keeps an element’s class.
Sourceunsafe fn vec_try_from_sexp_unchecked(
sexp: SEXP,
check: &ElementCheck<'_>,
) -> Result<Vec<Self>, SexpError>
unsafe fn vec_try_from_sexp_unchecked( sexp: SEXP, check: &ElementCheck<'_>, ) -> Result<Vec<Self>, SexpError>
<Vec<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".