1///|
2pub let Int64
size_of_byte = 1L
3
4///|
5pub let Int64
size_of_int16 = 2L
6
7///|
8pub let Int64
size_of_char = 4L
9
10///|
11pub let Int64
size_of_int = 4L
12
13///|
14pub let Int64
size_of_int64 = 8L
15
16///|
17pub let Int64
size_of_uint16 = 2L
18
19///|
20pub let Int64
size_of_uint = 4L
21
22///|
23pub let Int64
size_of_uint64 = 8L
24
25///|
26pub let Int64
size_of_float = 4L
27
28///|
29pub let Int64
size_of_double = 8L
30
31///|
32pub impl trait Sized {
size() -> Int64
}
Sized for Byte
Byte with () -> Int64
size() {
33 Int64
size_of_byte
34}
35
36///|
37pub impl trait Sized {
size() -> Int64
}
Sized for Char
Char with () -> Int64
size() {
38 Int64
size_of_char
39}
40
41///|
42pub impl trait Sized {
size() -> Int64
}
Sized for Int16
Int16 with () -> Int64
size() {
43 Int64
size_of_int16
44}
45
46///|
47pub impl trait Sized {
size() -> Int64
}
Sized for Int
Int with () -> Int64
size() {
48 Int64
size_of_int
49}
50
51///|
52pub impl trait Sized {
size() -> Int64
}
Sized for Int64
Int64 with () -> Int64
size() {
53 Int64
size_of_int64
54}
55
56///|
57pub impl trait Sized {
size() -> Int64
}
Sized for UInt16
UInt16 with () -> Int64
size() {
58 Int64
size_of_uint16
59}
60
61///|
62pub impl trait Sized {
size() -> Int64
}
Sized for UInt
UInt with () -> Int64
size() {
63 Int64
size_of_uint
64}
65
66///|
67pub impl trait Sized {
size() -> Int64
}
Sized for UInt64
UInt64 with () -> Int64
size() {
68 Int64
size_of_uint64
69}
70
71///|
72pub impl trait Sized {
size() -> Int64
}
Sized for Float
Float with () -> Int64
size() {
73 Int64
size_of_float
74}
75
76///|
77pub impl trait Sized {
size() -> Int64
}
Sized for Double
Double with () -> Int64
size() {
78 Int64
size_of_double
79}
80