enum RowGroups {
Owned(Vec<RowGroupMetaData>),
Shared(Arc<[RowGroupMetaData]>),
}Variants§
Implementations§
Source§impl RowGroups
impl RowGroups
Sourcefn as_slice(&self) -> &[RowGroupMetaData]
fn as_slice(&self) -> &[RowGroupMetaData]
Get a reference to the row groups
Sourcefn into_vec(self) -> Vec<RowGroupMetaData>
fn into_vec(self) -> Vec<RowGroupMetaData>
Take ownership of the row groups, converting to Vec
Sourcefn convert_to_owned(&mut self)
fn convert_to_owned(&mut self)
Convert to Owned variant, cloning if necessary
Sourcefn as_mut_vec(&mut self) -> &mut Vec<RowGroupMetaData>
fn as_mut_vec(&mut self) -> &mut Vec<RowGroupMetaData>
Get a mutable reference to the Vec, converting from Shared if necessary
Auto Trait Implementations§
impl Forget for RowGroups
impl Freeze for RowGroups
impl RefUnwindSafe for RowGroups
impl Send for RowGroups
impl Sync for RowGroups
impl Unpin for RowGroups
impl UnsafeUnpin for RowGroups
impl UnwindSafe for RowGroups
Blanket Implementations§
impl<T> Allocation for T
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