package raylib

  1. Overview
  2. Docs
type t = Types.Rectangle.t Ctypes.structure
val t : Types.Rectangle.t Ctypes.structure Ctypes.typ
val create : float -> float -> float -> float -> (Types.Rectangle.t, [ `Struct ]) Ctypes.structured
val x : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float
val y : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float
val width : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float
val height : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float
val set_x : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float -> unit
val set_y : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float -> unit
val set_width : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float -> unit
val set_height : (Types.Rectangle.t, [ `Struct ]) Ctypes.structured -> float -> unit
OCaml

Innovation. Community. Security.