class GLib::SList(T)
- GLib::SList(T)
- Reference
- Object
Included Modules
- Enumerable(T)
Defined in:
lib/gi-crystal/src/bindings/g_lib/slist.crConstructors
Instance Method Summary
- #[](n : Int32) : T
- #[]?(n : Int32) : T?
-
#each(&block : T -> _)
Must yield this collection's elements to the block.
- #finalize
-
#size
Returns the number of elements in the collection.
- #to_unsafe
Constructor Detail
Instance Method Detail
def each(&block : T -> _)
#
Description copied from module Enumerable(T)
Must yield this collection's elements to the block.
def size
#
Description copied from module Enumerable(T)
Returns the number of elements in the collection.
[1, 2, 3, 4].size # => 4