pub struct ListScalar<O> where
O: Offset, { /* private fields */ }
Expand description
Implementations
sourceimpl<O> ListScalar<O> where
O: Offset,
impl<O> ListScalar<O> where
O: Offset,
sourcepub fn new(
data_type: DataType,
values: Option<Arc<dyn Array + 'static>>
) -> ListScalar<O>
pub fn new(
data_type: DataType,
values: Option<Arc<dyn Array + 'static>>
) -> ListScalar<O>
returns a new ListScalar
Panics
iff
- the
data_type
is notList
orLargeList
(depending on this scalar’s offsetO
) - the child of the
data_type
is not equal to thevalues
sourcepub fn values(&self) -> &Arc<dyn Array + 'static>
pub fn values(&self) -> &Arc<dyn Array + 'static>
The values of the ListScalar
Trait Implementations
sourceimpl<O> Clone for ListScalar<O> where
O: Clone + Offset,
impl<O> Clone for ListScalar<O> where
O: Clone + Offset,
sourcefn clone(&self) -> ListScalar<O>
fn clone(&self) -> ListScalar<O>
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<O> Debug for ListScalar<O> where
O: Debug + Offset,
impl<O> Debug for ListScalar<O> where
O: Debug + Offset,
sourceimpl<O> PartialEq<ListScalar<O>> for ListScalar<O> where
O: Offset,
impl<O> PartialEq<ListScalar<O>> for ListScalar<O> where
O: Offset,
Auto Trait Implementations
impl<O> !RefUnwindSafe for ListScalar<O>
impl<O> Send for ListScalar<O>
impl<O> Sync for ListScalar<O>
impl<O> Unpin for ListScalar<O> where
O: Unpin,
impl<O> !UnwindSafe for ListScalar<O>
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
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more