pub fn maybe_null(self) -> Ty {
        match self.dir {
            Dir::To if self.left_bound >= self.right_bound => Ty::Null,
            Dir::Downto if self.left_bound <= self.right_bound => Ty::Null,
            _ => self.into(),
        }
    }
/// Map the type to itself if the range has a positive length, or to `null`
/// if the range has a negative or zero length.
Map the type to itself if the range has a positive length, or to `null`
if the range has a negative or zero length.
Map the type to itself if the range has a positive length or to ` null ` if the range has a negative or zero length .
pub fn maybe_null(self) -> Ty {
        match self.dir {
            Dir::To if self.left_bound >= self.right_bound => Ty::Null,
            Dir::Downto if self.left_bound <= self.right_bound => Ty::Null,
            _ => self.into(),
        }
    }
pub fn maybe_null ( self ) -> Ty { match self . dir { Dir :: To if self . left_bound >= self . right_bound => Ty :: Null , Dir :: Downto if self . left_bound <= self . right_bound => Ty :: Null , _ => self . into ( ) , } }
Map the type to itself if the range has a positive length, or to `null`
if the range has a negative or zero length.
Map the type to itself if the range has a positive length or to ` null ` if the range has a negative or zero length .
self
self