struct EdgeAI::Devices::Format

Included Modules

Extended Modules

Defined in:

controllers/devices.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(code : String, resolutions : Array(Resolution)) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def code : String #

def copy_with(code _code = @code, resolutions _resolutions = @resolutions) #

[View source]
def resolutions : Array(Resolution) #