pub struct TakeOptions {
pub check_bounds: bool,
}
Expand description
Options that define how take
should behave
Fields
check_bounds: bool
Perform bounds check before taking indices from values.
If enabled, an ArrowError
is returned if the indices are out of bounds.
If not enabled, and indices exceed bounds, the kernel will panic.
Trait Implementations
sourceimpl Clone for TakeOptions
impl Clone for TakeOptions
sourcefn clone(&self) -> TakeOptions
fn clone(&self) -> TakeOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TakeOptions
impl Debug for TakeOptions
sourceimpl Default for TakeOptions
impl Default for TakeOptions
sourcefn default() -> TakeOptions
fn default() -> TakeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TakeOptions
impl Send for TakeOptions
impl Sync for TakeOptions
impl Unpin for TakeOptions
impl UnwindSafe for TakeOptions
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