Pbrt.PpRuntime functions for Pretty Printing functionality
type formatter = Stdlib.Format.formatterval pp_unit : formatter -> unit -> unitpp_unit fmt () formats unit value
val pp_int : formatter -> int -> unitpp_unit fmt i formats i value
val pp_float : formatter -> float -> unitpp_unit fmt f formats f value
val pp_bool : formatter -> bool -> unitpp_unit fmt b formats b value
val pp_int32 : formatter -> int32 -> unitpp_unit fmt i formats i value
val pp_unsigned_of_int32 : formatter -> [ `unsigned of int32 ] -> unitval pp_int64 : formatter -> int64 -> unitpp_unit fmt i formats i value
val pp_unsigned_of_int64 : formatter -> [ `unsigned of int64 ] -> unitval pp_string : formatter -> string -> unitpp_unit fmt s formats s value
val pp_bytes : formatter -> bytes -> unitpp_unit fmt b formats b value
pp_option f fmt o formats an option value o using f formatter when o is a Some x value
val pp_wrapper_float : formatter -> float option -> unitval pp_wrapper_bool : formatter -> bool option -> unitval pp_wrapper_int32 : formatter -> int32 option -> unitval pp_wrapper_int64 : formatter -> int64 option -> unitval pp_wrapper_string : formatter -> string option -> unitval pp_wrapper_bytes : formatter -> bytes option -> unitpp_list f fmt l formats a list value l using f formatter on each of the elements.
val pp_hastable :
(formatter -> 'a -> unit) ->
(formatter -> 'b -> unit) ->
formatter ->
('a, 'b) Stdlib.Hashtbl.t ->
unitpp_record_field label_name fmt field_value formats a record field_value with label_name