commit 0b92d689d0e64164bb8908c807db9338d59c41ce (tree)
parent 85422d7aeadc453ec621d0624f394c3f4e3f619f
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Tue, 19 Jun 2018 12:16:59 -0400
update langref
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -5688,10 +5688,17 @@ pub const TypeInfo = union(TypeId) {
};
pub const Pointer = struct {
+ size: Size,
is_const: bool,
is_volatile: bool,
alignment: u32,
child: type,
+
+ pub const Size = enum {
+ One,
+ Many,
+ Slice,
+ };
};
pub const Array = struct {