haxe interface example Example: haxe interface interface Printable { public var x:Float; public function toString():String; }