class GPhoto2::PortInfo

Included Modules

Defined in:

gphoto2/port_info.cr

Constructors

Instance Method Summary

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

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::GPPortInfo)

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

Constructor Detail

def self.find(port : String) : self #

[View source]

Instance Method Detail

def name : String #

Returns the name of the port.


[View source]
def path : String #

Returns the path of the port.


[View source]
def type : Port::Type #

Returns the type of the port.


[View source]