Array

Type Alias Array 

Source
pub type Array = KVec<Object>;
Expand description

A vector of Neovim Objects.

Aliased Type§

#[repr(C)]
pub struct Array { /* private fields */ }

Trait Implementations§

Source§

impl Debug for Array

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Array

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<A: Into<Object>> From<(A,)> for Array

Source§

fn from((A): (A,)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>> From<(A, B)> for Array

Source§

fn from((A, B): (A, B)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>> From<(A, B, C)> for Array

Source§

fn from((A, B, C): (A, B, C)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>> From<(A, B, C, D)> for Array

Source§

fn from((A, B, C, D): (A, B, C, D)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>> From<(A, B, C, D, E)> for Array

Source§

fn from((A, B, C, D, E): (A, B, C, D, E)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>> From<(A, B, C, D, E, F)> for Array

Source§

fn from((A, B, C, D, E, F): (A, B, C, D, E, F)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>> From<(A, B, C, D, E, F, G)> for Array

Source§

fn from((A, B, C, D, E, F, G): (A, B, C, D, E, F, G)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>> From<(A, B, C, D, E, F, G, H)> for Array

Source§

fn from((A, B, C, D, E, F, G, H): (A, B, C, D, E, F, G, H)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>> From<(A, B, C, D, E, F, G, H, I)> for Array

Source§

fn from((A, B, C, D, E, F, G, H, I): (A, B, C, D, E, F, G, H, I)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J)> for Array

Source§

fn from((A, B, C, D, E, F, G, H, I, J): (A, B, C, D, E, F, G, H, I, J)) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>, K: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J, K)> for Array

Source§

fn from( (A, B, C, D, E, F, G, H, I, J, K): (A, B, C, D, E, F, G, H, I, J, K), ) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>, K: Into<Object>, L: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Array

Source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L): (A, B, C, D, E, F, G, H, I, J, K, L), ) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>, K: Into<Object>, L: Into<Object>, M: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for Array

Source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M): (A, B, C, D, E, F, G, H, I, J, K, L, M), ) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>, K: Into<Object>, L: Into<Object>, M: Into<Object>, N: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for Array

Source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N): (A, B, C, D, E, F, G, H, I, J, K, L, M, N), ) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>, K: Into<Object>, L: Into<Object>, M: Into<Object>, N: Into<Object>, O: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for Array

Source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), ) -> Self

Converts to this type from the input type.
Source§

impl<A: Into<Object>, B: Into<Object>, C: Into<Object>, D: Into<Object>, E: Into<Object>, F: Into<Object>, G: Into<Object>, H: Into<Object>, I: Into<Object>, J: Into<Object>, K: Into<Object>, L: Into<Object>, M: Into<Object>, N: Into<Object>, O: Into<Object>, P: Into<Object>> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for Array

Source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), ) -> Self

Converts to this type from the input type.
Source§

impl<T> FromIterator<T> for Array
where T: Into<Object>,

Source§

fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self

Creates a value from an iterator. Read more
Source§

impl FromObject for Array

Source§

impl IntoIterator for Array

Source§

type IntoIter = ArrayIterator

Which kind of iterator are we turning this into?
Source§

type Item = <ArrayIterator as Iterator>::Item

The type of the elements being iterated over.
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl Poppable for Array

Source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

Pops the value at the top of the stack.
Source§

impl Pushable for Array

Source§

unsafe fn push(self, state: *mut lua_State) -> Result<c_int, Error>

Pushes all its values on the Lua stack, returning the number of values that it pushed.