pub struct Scalar {
pub value: DTypeValue,
pub dtype: DType,
}
Expand description
Generic Scalar
Fields§
§value: DTypeValue
§dtype: DType
Implementations§
Trait Implementations§
source§impl PartialEq for Scalar
impl PartialEq for Scalar
source§impl TypedScalar<String> for Scalar
impl TypedScalar<String> for Scalar
source§impl TypedScalar<bool> for Scalar
impl TypedScalar<bool> for Scalar
source§impl TypedScalar<char> for Scalar
impl TypedScalar<char> for Scalar
source§impl TypedScalar<isize> for Scalar
impl TypedScalar<isize> for Scalar
source§impl 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§
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