pub fn size(&self) -> usize {
        std::mem::size_of::<Self>()
            + match &self {
                Self::Bool(_) | Self::I64(_) | Self::F64(_) => 0,
                Self::String(s) => s.capacity(),
            }
    }
/// Return the approximate memory size of the scalar, in bytes.
///
/// This includes `Self`.
Return the approximate memory size of the scalar, in bytes.
This includes `Self`.
Return the approximate memory size of the scalar in bytes . This includes ` Self ` .
pub fn size(&self) -> usize {
        std::mem::size_of::<Self>()
            + match &self {
                Self::Bool(_) | Self::I64(_) | Self::F64(_) => 0,
                Self::String(s) => s.capacity(),
            }
    }
pub fn size ( & self ) -> usize { std :: mem :: size_of :: < Self > ( ) + match & self { Self :: Bool ( _ ) | Self :: I64 ( _ ) | Self :: F64 ( _ ) => 0 , Self :: String ( s ) => s . capacity ( ) , } }
Return the approximate memory size of the scalar, in bytes.
Return the approximate memory size of the scalar in bytes .
&self
&self