pub struct Scalar {
pub value: DTypeValue,
pub dtype: DType,
}
Expand description
Generic Scalar
Fields
value: DTypeValue
dtype: DType
Implementations
Trait Implementations
sourceimpl TypedScalar<String> for Scalar
impl TypedScalar<String> for Scalar
sourceimpl TypedScalar<isize> for Scalar
impl TypedScalar<isize> for Scalar
sourceimpl TypedScalar<usize> for Scalar
impl TypedScalar<usize> for Scalar
impl StructuralPartialEq for Scalar
Auto Trait Implementations
impl RefUnwindSafe for Scalar
impl Send for Scalar
impl Sync for Scalar
impl Unpin for Scalar
impl UnwindSafe for Scalar
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