pub struct StructType {}
Available on crate feature
dtype-struct
only.Trait Implementations§
Source§impl ChunkExpandAtIndex<StructType> for ChunkedArray<StructType>
impl ChunkExpandAtIndex<StructType> for ChunkedArray<StructType>
Source§fn new_from_index(
&self,
index: usize,
length: usize,
) -> ChunkedArray<StructType>
fn new_from_index( &self, index: usize, length: usize, ) -> ChunkedArray<StructType>
Create a new ChunkedArray filled with values at that index.
Source§impl ChunkShift<StructType> for ChunkedArray<StructType>
impl ChunkShift<StructType> for ChunkedArray<StructType>
fn shift(&self, periods: i64) -> ChunkedArray<StructType>
Source§impl ChunkSort<StructType> for ChunkedArray<StructType>
impl ChunkSort<StructType> for ChunkedArray<StructType>
fn sort_with(&self, options: SortOptions) -> ChunkedArray<StructType>
Source§fn sort(&self, descending: bool) -> ChunkedArray<StructType>
fn sort(&self, descending: bool) -> ChunkedArray<StructType>
Returned a sorted
ChunkedArray
.Source§fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
Source§fn arg_sort_multiple(
&self,
by: &[Column],
_options: &SortMultipleOptions,
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_sort_multiple( &self, by: &[Column], _options: &SortMultipleOptions, ) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Retrieve the indexes need to sort this and the other arrays.
Source§impl ChunkZip<StructType> for ChunkedArray<StructType>
impl ChunkZip<StructType> for ChunkedArray<StructType>
Source§fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<StructType>,
) -> Result<ChunkedArray<StructType>, PolarsError>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<StructType>, ) -> Result<ChunkedArray<StructType>, PolarsError>
Create a new ChunkedArray with values from self where the mask evaluates
true
and values
from other
where the mask evaluates false
Source§impl PolarsDataType for StructType
impl PolarsDataType for StructType
type Physical<'a> = ()
type OwnedPhysical = ()
type ZeroablePhysical<'a> = ()
type Array = StructArray
type IsNested = TrueT
type HasViews = FalseT
type IsStruct = TrueT
type IsObject = FalseT
type IsLogical = FalseT
fn get_dtype() -> DataTypewhere
StructType: Sized,
Auto Trait Implementations§
impl Freeze for StructType
impl RefUnwindSafe for StructType
impl Send for StructType
impl Sync for StructType
impl Unpin for StructType
impl UnwindSafe for StructType
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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