Trait jlrs::args::Values

source ·
pub trait Values<'scope, 'data, const N: usize>: ValuesPriv<'scope, 'data, N> { }
Expand description

A number of Values.

This trait is implemented for sized and unsized arrays and array slices, if the number of Values is indeterminate N is usize::MAX. In this case allocating may be required to add additional values so you should always prefer using constantly-sized array.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'scope, 'data> Values<'scope, 'data, UMAX> for &[Value<'scope, 'data>]

source§

impl<'scope, 'data> Values<'scope, 'data, UMAX> for &mut [Value<'scope, 'data>]

source§

impl<'scope, 'data, const N: usize> Values<'scope, 'data, N> for &[Value<'scope, 'data>; N]

source§

impl<'scope, 'data, const N: usize> Values<'scope, 'data, N> for &mut [Value<'scope, 'data>; N]

source§

impl<'scope, 'data, const N: usize> Values<'scope, 'data, N> for [Value<'scope, 'data>; N]

Implementors§

source§

impl<'scope, 'data, 'borrow, const SIZE: usize> Values<'scope, 'data, UMAX> for WithSmallVecSize<'scope, 'data, 'borrow, SIZE>