Miracast is a direct screen mirroring standard (no internet needed). Google Chromecast uses DIAL protocol and often requires cloud connectivity, though it can mirror screens too.
, as the technology is built directly into the operating system. Instead, you must ensure your hardware is compatible and install the "Wireless Display" optional feature if you want to receive projections from other devices.