module Crysterm::Mixin::Uid
Direct including types
Defined in:
mixin/uid.crClass Method Summary
-
.next_uid : Int32
Returns next widget UID.
Instance Method Summary
-
#uid : Int32
Unique ID.
-
#uid=(uid : Int32)
Unique ID.
Class Method Detail
def self.next_uid : Int32
#
Returns next widget UID.
UIDs are generated sequentially, with ID sequence kept in an int32.
Instance Method Detail
def uid : Int32
#
Unique ID. Auto-incremented.
NOTE This is an instance var; setting it to the value of @@uid
happens in includers.
def uid=(uid : Int32)
#
Unique ID. Auto-incremented.
NOTE This is an instance var; setting it to the value of @@uid
happens in includers.