Enum polars::chunked_array::object::TakeRandBranch3
source · [−]pub enum TakeRandBranch3<N, S, M> {
SingleNoNull(N),
Single(S),
Multi(M),
}
This is supported on crate feature
object
only.Variants
SingleNoNull(N)
Single(S)
Multi(M)
Trait Implementations
sourceimpl<N, S, M, I> TakeRandom for TakeRandBranch3<N, S, M> where
N: TakeRandom<Item = I>,
S: TakeRandom<Item = I>,
M: TakeRandom<Item = I>,
impl<N, S, M, I> TakeRandom for TakeRandBranch3<N, S, M> where
N: TakeRandom<Item = I>,
S: TakeRandom<Item = I>,
M: TakeRandom<Item = I>,
type Item = I
sourcefn get(
&self,
index: usize
) -> Option<<TakeRandBranch3<N, S, M> as TakeRandom>::Item>
fn get(
&self,
index: usize
) -> Option<<TakeRandBranch3<N, S, M> as TakeRandom>::Item>
Get a nullable value by index. Read more
sourceunsafe fn get_unchecked(
&self,
index: usize
) -> Option<<TakeRandBranch3<N, S, M> as TakeRandom>::Item>
unsafe fn get_unchecked(
&self,
index: usize
) -> Option<<TakeRandBranch3<N, S, M> as TakeRandom>::Item>
Get a value by index and ignore the null bit. Read more
Auto Trait Implementations
impl<N, S, M> RefUnwindSafe for TakeRandBranch3<N, S, M> where
M: RefUnwindSafe,
N: RefUnwindSafe,
S: RefUnwindSafe,
impl<N, S, M> Send for TakeRandBranch3<N, S, M> where
M: Send,
N: Send,
S: Send,
impl<N, S, M> Sync for TakeRandBranch3<N, S, M> where
M: Sync,
N: Sync,
S: Sync,
impl<N, S, M> Unpin for TakeRandBranch3<N, S, M> where
M: Unpin,
N: Unpin,
S: Unpin,
impl<N, S, M> UnwindSafe for TakeRandBranch3<N, S, M> where
M: UnwindSafe,
N: UnwindSafe,
S: UnwindSafe,
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