Lines Matching refs:v
80 pub fn format<T: ToString>(v: &T) -> String { in format()
81 v.to_string() in format()
85 pub fn format_bool(v: &bool) -> String { in format_bool()
86 if *v { in format_bool()
93 pub fn format_bool_as_int(v: &bool) -> String { in format_bool_as_int()
94 if *v { in format_bool_as_int()
100 fn format_list_with<T, F>(v: &[T], f: F) -> String in format_list_with()
105 for item in v { in format_list_with()
115 pub fn format_list<T: ToString>(v: &[T]) -> String { in format_list()
116 format_list_with(v, format) in format_list()
120 pub fn format_bool_list(v: &[bool]) -> String { in format_bool_list()
121 format_list_with(v, format_bool) in format_bool_list()
125 pub fn format_bool_list_as_int(v: &[bool]) -> String { in format_bool_list_as_int()
126 format_list_with(v, format_bool_as_int) in format_bool_list_as_int()