Display¶
Interface for types that can be converted to a string representation.
Module: Std
Summary¶
Description¶
Display defines a common interface for converting values into a String.
Types implementing Display provide a ToString method that returns a string representation of the value.
This interface is commonly used by formatting, logging, and output functions that need a textual representation of arbitrary types.
Methods¶
ToString¶
Returns a string representation of the current value.