pub struct ColumnWithName {
pub name: Fragment,
pub data: ColumnBuffer,
}Fields§
§name: Fragment§data: ColumnBufferImplementations§
Source§impl ColumnWithName
impl ColumnWithName
pub fn new(name: impl Into<Fragment>, data: ColumnBuffer) -> Self
pub fn from_column(name: impl Into<Fragment>, column: Column) -> Self
pub fn get_type(&self) -> Type
pub fn with_new_data(&self, data: ColumnBuffer) -> ColumnWithName
pub fn name(&self) -> &Fragment
pub fn name_owned(&self) -> Fragment
pub fn data(&self) -> &ColumnBuffer
pub fn data_mut(&mut self) -> &mut ColumnBuffer
pub fn column(&self) -> Column
pub fn to_static(&self) -> ColumnWithName
Source§impl ColumnWithName
impl ColumnWithName
pub fn int1( name: impl Into<Fragment>, data: impl IntoIterator<Item = i8>, ) -> Self
pub fn int1_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i8>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int2( name: impl Into<Fragment>, data: impl IntoIterator<Item = i16>, ) -> Self
pub fn int2_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i16>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int4( name: impl Into<Fragment>, data: impl IntoIterator<Item = i32>, ) -> Self
pub fn int4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i32>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int8( name: impl Into<Fragment>, data: impl IntoIterator<Item = i64>, ) -> Self
pub fn int8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i64>, bitvec: impl Into<BitVec>, ) -> Self
pub fn int16( name: impl Into<Fragment>, data: impl IntoIterator<Item = i128>, ) -> Self
pub fn int16_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = i128>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint1( name: impl Into<Fragment>, data: impl IntoIterator<Item = u8>, ) -> Self
pub fn uint1_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u8>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint2( name: impl Into<Fragment>, data: impl IntoIterator<Item = u16>, ) -> Self
pub fn uint2_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u16>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint4( name: impl Into<Fragment>, data: impl IntoIterator<Item = u32>, ) -> Self
pub fn uint4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u32>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint8( name: impl Into<Fragment>, data: impl IntoIterator<Item = u64>, ) -> Self
pub fn uint8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u64>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uint16( name: impl Into<Fragment>, data: impl IntoIterator<Item = u128>, ) -> Self
pub fn uint16_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = u128>, bitvec: impl Into<BitVec>, ) -> Self
pub fn float4( name: impl Into<Fragment>, data: impl IntoIterator<Item = f32>, ) -> Self
pub fn float4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = f32>, bitvec: impl Into<BitVec>, ) -> Self
pub fn float8( name: impl Into<Fragment>, data: impl IntoIterator<Item = f64>, ) -> Self
pub fn float8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = f64>, bitvec: impl Into<BitVec>, ) -> Self
pub fn bool( name: impl Into<Fragment>, data: impl IntoIterator<Item = bool>, ) -> Self
pub fn bool_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = bool>, bitvec: impl Into<BitVec>, ) -> Self
pub fn utf8( name: impl Into<Fragment>, data: impl IntoIterator<Item = String>, ) -> Self
pub fn utf8_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = String>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uuid4( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid4>, ) -> Self
pub fn uuid4_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid4>, bitvec: impl Into<BitVec>, ) -> Self
pub fn uuid7( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid7>, ) -> Self
pub fn uuid7_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = Uuid7>, bitvec: impl Into<BitVec>, ) -> Self
pub fn dictionary_id( name: impl Into<Fragment>, data: impl IntoIterator<Item = DictionaryEntryId>, ) -> Self
pub fn dictionary_id_with_bitvec( name: impl Into<Fragment>, data: impl IntoIterator<Item = DictionaryEntryId>, bitvec: impl Into<BitVec>, ) -> Self
pub fn undefined_typed( name: impl Into<Fragment>, ty: Type, row_count: usize, ) -> Self
Trait Implementations§
Source§impl Clone for ColumnWithName
impl Clone for ColumnWithName
Source§impl Debug for ColumnWithName
impl Debug for ColumnWithName
Source§impl From<ColumnWithName> for FrameColumn
impl From<ColumnWithName> for FrameColumn
Source§fn from(value: ColumnWithName) -> Self
fn from(value: ColumnWithName) -> Self
Converts to this type from the input type.
Source§impl From<FrameColumn> for ColumnWithName
impl From<FrameColumn> for ColumnWithName
Source§fn from(value: FrameColumn) -> Self
fn from(value: FrameColumn) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ColumnWithName
impl PartialEq for ColumnWithName
Auto Trait Implementations§
impl Freeze for ColumnWithName
impl RefUnwindSafe for ColumnWithName
impl Send for ColumnWithName
impl Sync for ColumnWithName
impl Unpin for ColumnWithName
impl UnsafeUnpin for ColumnWithName
impl UnwindSafe for ColumnWithName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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