enum HarfBuzz::MemoryModeT

Overview

Data type holding the memory modes available to client programs.

Regarding these various memory-modes:

Defined in:

lib/gi-crystal/src/auto/harf_buzz-0.0/harf_buzz.cr

Enum Members

Duplicate = 0_u32

HarfBuzz immediately makes a copy of the data.

Readonly = 1_u32

HarfBuzz client will never modify the data, and HarfBuzz will never modify the data.

Writable = 2_u32

HarfBuzz client made a copy of the data solely for HarfBuzz, so HarfBuzz may modify the data.

ReadonlyMayMakeWritable = 3_u32

See above

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def duplicate? #

def readonly? #

def readonly_may_make_writable? #

def writable? #