Make a new [TypeVar] that includes all types narrower than self.
(&self)
| 261 | |
| 262 | /// Make a new [TypeVar] that includes all types narrower than self. |
| 263 | pub fn narrower(&self) -> TypeVar { |
| 264 | self.derived(DerivedFunc::Narrower) |
| 265 | } |
| 266 | |
| 267 | /// Make a new [TypeVar] that includes all types wider than self. |
| 268 | pub fn wider(&self) -> TypeVar { |