Trait extendr_api::prelude::FixedInitializer

source ·
pub unsafe trait FixedInitializer {
    type Elem;

    // Required methods
    fn as_init_slice(&self) -> &[Self::Elem];
    fn len() -> usize;
}
Expand description

Fixed-size array used for array initialization

Required Associated Types§

Required Methods§

source

fn as_init_slice(&self) -> &[Self::Elem]

source

fn len() -> usize

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> FixedInitializer for [T; 0]

source§

impl<T> FixedInitializer for [T; 1]

source§

impl<T> FixedInitializer for [T; 2]

source§

impl<T> FixedInitializer for [T; 3]

source§

impl<T> FixedInitializer for [T; 4]

source§

impl<T> FixedInitializer for [T; 5]

source§

impl<T> FixedInitializer for [T; 6]

source§

impl<T> FixedInitializer for [T; 7]

source§

impl<T> FixedInitializer for [T; 8]

source§

impl<T> FixedInitializer for [T; 9]

source§

impl<T> FixedInitializer for [T; 10]

source§

impl<T> FixedInitializer for [T; 11]

source§

impl<T> FixedInitializer for [T; 12]

source§

impl<T> FixedInitializer for [T; 13]

source§

impl<T> FixedInitializer for [T; 14]

source§

impl<T> FixedInitializer for [T; 15]

source§

impl<T> FixedInitializer for [T; 16]

Implementors§