pub struct UnstableSeries<'a> { /* private fields */ }
Expand description
A wrapper type that should make it a bit more clear that we should not clone Series
Implementations
sourceimpl<'a> UnstableSeries<'a>
impl<'a> UnstableSeries<'a>
pub fn new(series: &'a Series) -> UnstableSeries<'a>
sourcepub fn new_with_chunk(
series: &'a Series,
inner_chunk: &Arc<dyn Array + 'static>
) -> UnstableSeries<'a>
pub fn new_with_chunk(
series: &'a Series,
inner_chunk: &Arc<dyn Array + 'static>
) -> UnstableSeries<'a>
pub fn clone(&self)
pub fn deep_clone(&self) -> Series
pub fn swap(&mut self, array: Arc<dyn Array + 'static>)
Trait Implementations
sourceimpl<'_> AsRef<Series> for UnstableSeries<'_>
impl<'_> AsRef<Series> for UnstableSeries<'_>
We don’t implement Deref so that the caller is aware of converting to Series
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UnstableSeries<'a>
impl<'a> !Send for UnstableSeries<'a>
impl<'a> !Sync for UnstableSeries<'a>
impl<'a> Unpin for UnstableSeries<'a>
impl<'a> !UnwindSafe for UnstableSeries<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more