struct Sensors::Chip::Feature

Defined in:

chip/feature.cr
chip/feature/subfeature.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(lib_feature : Pointer(LibSensors::Feature), on chip : Sensors::Chip) #

[View source]

Instance Method Detail

def [](type : LibSensors::SubfeatureType) : Subfeature #

[View source]
def []?(type : LibSensors::SubfeatureType) : Subfeature | Nil #

[View source]
def chip : Chip #

[View source]
def chip=(chip : Chip) #

[View source]
def each_subfeature(&) #

[View source]
def each_subfeature_with_index(&) #

[View source]
def label #

[View source]
def subfeatures : Subfeatures #

[View source]
def subfeatures(&block : Subfeature -> R | Nil) : Array(R) forall R #

[View source]
def to_unsafe : Pointer(LibSensors::Feature) #

[View source]