generic-array icon indicating copy to clipboard operation
generic-array copied to clipboard

Generic array types in Rust

Results 9 generic-array issues
Sort by recently updated
recently updated
newest added

Hello, just done LLDB SyntheticProvider for GenericArray, it is not ideal, but works :) ```python import lldb class GenericArraySyntheticProvider: def __init__(self, valobj, internal_dict): self.valobj = valobj self.count = 0 self.extract_values()...

Add new methods for removing an element from an arbitrary index. I'm surprised this wasn't already implemented, so maybe I missed it. Here's what the assembly looks like for `GenericArray::.remove_unchecked`...

Minor point, but would it be possible to expose an `unsafe` version of these functions that doesn't perform any length-check?

I'm trying to debug an issue involving `GenericArray`: ``` (gdb) print expected_tag $11 = generic_array::GenericArray {data: generic_array::GenericArrayImplEven {parent1: generic_array::GenericArrayImplEven {parent1: generic_array::GenericArrayImplEven {parent1: generic_array::GenericArrayImplEven {parent1: generic_array::GenericArrayImplOdd {parent1: [], parent2: [], data:...

Hi, I am trying to implement something that looks like this for some tuple struct Array : ``` impl Array { pub fn new(x: T, y: T, z: T) ->...

Not sure how messy this would turn out, but has anybody experimented with a "GenericArray with borrowed data", where the constructor would inject a pre-allocated `&mut [T; N::to_usize()]`? Or in...

May be misunderstanding something here, but it looks like the instantiation process has an unnecessarily heavy stack footprint. I expect to have a few MB of stack space available, but...

This would make it possible to handle partially-`uninitialized` `GenericArray`s without insta-UB. Thank you for your work on generic-array :)

[semver trick](https://github.com/dtolnay/semver-trick) It can merely re-export from version 0.10.0.