Skip to content

Support Zero-Copy Conversion from Vec to/from MutableBuffer #3516

@tustvold

Description

@tustvold

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

This will allow better interoperability with the rest of the ecosystem, and meshes well with the work by @viirya to provide fallible conversion from Buffer to MutableBuffer as part of #1981

Describe the solution you'd like

I would like From implementations to allow conversion between Vec<A: ArrowNativeType> and MutableBuffer. Much like typed_data_mut these will panic if alignment constraints are violated.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions