pub fn with_validity(&self, validity: Option<Bitmap>) -> Self {
        if matches!(&validity, Some(bitmap) if bitmap.len() != self.len()) {
            panic!("validity should be as least as large as the array")
        }
        let mut arr = self.clone();
        arr.validity = validity;
        arr
    }
/// Sets the validity bitmap on this [`FixedSizeBinaryArray`].
/// # Panic
/// This function panics iff `validity.len() != self.len()`.
Sets the validity bitmap on this [`FixedSizeBinaryArray`].
Sets the validity bitmap on this [ ` FixedSizeBinaryArray ` ] .
pub fn with_validity(&self, validity: Option<Bitmap>) -> Self {
        if matches!(&validity, Some(bitmap) if bitmap.len() != self.len()) {
            panic!("validity should be as least as large as the array")
        }
        let mut arr = self.clone();
        arr.validity = validity;
        arr
    }
pub fn with_validity ( & self , validity : Option < Bitmap > ) -> Self { if matches ! ( validity Some ( bitmap ) if bitmap len ( ) self len ( ) ) { panic ! ( " " ) } let mut arr = self . clone ( ) ; arr . validity = validity ; arr }
Sets the validity bitmap on this [`FixedSizeBinaryArray`].
Sets the validity bitmap on this [ ` FixedSizeBinaryArray ` ] .
&self
validity
Option<Bitmap>
&self
validity
Option<Bitmap>
panic
This function panics iff `validity.len() != self.len()`.
This function panics iff ` validity . len () ! = self . len () ` .