pub struct GrowableFixedSizeList<'a> { /* private fields */ }
Expand description
Concrete Growable
for the FixedSizeListArray
.
Implementations§
Source§impl<'a> GrowableFixedSizeList<'a>
impl<'a> GrowableFixedSizeList<'a>
Sourcepub fn new(
arrays: Vec<&'a FixedSizeListArray>,
use_validity: bool,
capacity: usize,
) -> Self
pub fn new( arrays: Vec<&'a FixedSizeListArray>, use_validity: bool, capacity: usize, ) -> Self
Creates a new GrowableFixedSizeList
bound to arrays
with a pre-allocated capacity
.
§Panics
If arrays
is empty.
pub fn to(&mut self) -> FixedSizeListArray
Trait Implementations§
Source§impl<'a> From<GrowableFixedSizeList<'a>> for FixedSizeListArray
impl<'a> From<GrowableFixedSizeList<'a>> for FixedSizeListArray
Source§fn from(val: GrowableFixedSizeList<'a>) -> Self
fn from(val: GrowableFixedSizeList<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Growable<'a> for GrowableFixedSizeList<'a>
impl<'a> Growable<'a> for GrowableFixedSizeList<'a>
Source§unsafe fn extend_copies(
&mut self,
index: usize,
start: usize,
len: usize,
copies: usize,
)
unsafe fn extend_copies( &mut self, index: usize, start: usize, len: usize, copies: usize, )
Same as extend, except it repeats the extension
copies
times. Read moreSource§fn extend_validity(&mut self, additional: usize)
fn extend_validity(&mut self, additional: usize)
Auto Trait Implementations§
impl<'a> Freeze for GrowableFixedSizeList<'a>
impl<'a> !RefUnwindSafe for GrowableFixedSizeList<'a>
impl<'a> !Send for GrowableFixedSizeList<'a>
impl<'a> !Sync for GrowableFixedSizeList<'a>
impl<'a> Unpin for GrowableFixedSizeList<'a>
impl<'a> !UnwindSafe for GrowableFixedSizeList<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more