class GPhoto2::PortInfoList

Included Modules

Defined in:

gphoto2/port_info_list.cr

Constructors

Instance Method Summary

Instance methods inherited from module GPhoto2::Struct(LibGPhoto2Port::GPPortInfoList)

ptr : Pointer(T) ptr, ptr? : Pointer(T) | Nil ptr?, to_unsafe : Pointer(T) to_unsafe, wrapped : T wrapped

Constructor methods inherited from module GPhoto2::Struct(LibGPhoto2Port::GPPortInfoList)

new(ptr : Pointer(T) | Nil = nil) new

Constructor Detail

def self.new #

NOTE allocates memory.


[View source]

Instance Method Detail

def [](index : Int32) : PortInfo #

[View source]
def [](port : String) : PortInfo #

[View source]
def finalize #

Finalizes object by freeing allocated memory.


[View source]
def lookup_path(port : String) : Int32 #

[View source]