class Llama::Model::ChildCreationLease

Overview

Single-use permission to construct a native child from this model. :nodoc:

Defined in:

llama/model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(model : Model, handle : Pointer(LibLlama::LlamaModel)) #

[View source]

Instance Method Detail

def active? : Bool #

[View source]
def consume! : Nil #

[View source]
def handle : Pointer(LibLlama::LlamaModel) #

[View source]
def model : Model #

[View source]