struct Allegro::EmptyUString
- Allegro::EmptyUString
- Struct
- Value
- Object
Overview
This is special UString that stores empty UString
Included Modules
Defined in:
Constructors
Instance Method Summary
-
#to_unsafe : Allegro::LibCore::Ustr
Returns pointer to
const ALLEGRO_USTR
Instance methods inherited from module Allegro::UString
<=>(str : String)<=>(str : AnyUString) <=>, ==(str : String)
==(str : AnyUString) ==, =~(regex : Regex) =~, [](range : Range) : AllocatedUString
[](index : Int32) : Char
[](start : Int, count : Int) : AllocatedUString [], []?(start : Int, count : Int) : AllocatedUString?
[]?(index : Int32) : Char?
[]?(range : Range) : AllocatedUString? []?, byte_at(index, &)
byte_at(index) byte_at, byte_at?(index) byte_at?, byte_index(byte : Int, offset = 0) : Int32? byte_index, bytes bytes, bytesize bytesize, dup : AllocatedUString dup, size size, to_s
to_s(io : IO) to_s, to_slice(size : Int = self.bytesize, *, copy = true) to_slice, to_utf16 to_utf16
Class methods inherited from module Allegro::UString
build(&)
build,
from_utf16(slice : Slice(UInt16)) : AllocatedUString
from_utf16
Constructor Detail
Instance Method Detail
def to_unsafe : Allegro::LibCore::Ustr
#
Returns pointer to const ALLEGRO_USTR
WARNING: constness is not checked by API interface.