Current section

Files

Jump to
vix lib vix vips target.ex
Raw

lib/vix/vips/target.ex

defmodule Vix.Vips.Target do
@moduledoc false
alias Vix.Type
@behaviour Type
@opaque t() :: reference()
@impl Type
def typespec do
quote do
unquote(__MODULE__).t()
end
end
@impl Type
def default(nil), do: :unsupported
@impl Type
def to_nif_term(_value, _data), do: raise("VipsTarget is not implemented yet")
@impl Type
def to_erl_term(_value), do: raise("VipsTarget is not implemented yet")
end