Expand description
ALTREP storage for native-element ring buffers.
Element and region reads preserve the split buffer. A contiguous pointer is
exposed only after VecDeque::make_contiguous, without converting the owner
to a Vec or copying into an R vector.
Re-exportsยง
use std::collections::VecDeque;๐use super::AltComplexData;๐use super::AltIntegerData;๐use super::AltRawData;๐use super::AltRealData;๐use super::AltrepDataptr;๐use super::AltrepLen;๐use super::AltrepSerialize;๐use crate::IntoR;๐use crate::IntoR;๐use crate::Rcomplex;๐use crate::SEXP;๐use crate::TryFromSexp;๐use crate::TryFromSexp;๐
Macrosยง
- impl_
native_ ๐deque
Functionsยง
- contiguous_
slice ๐ - Borrow the complete logical sequence only when it occupies one segment.
- copy_
region ๐ - Copy at most two contiguous regions, with no allocation or rearrangement.