1///|
2pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Byte
Byte with (self : ConstPtr[Byte]) -> Byte
get(ConstPtr[Byte]
self : type ConstPtr[T]
ConstPtr[Byte
Byte]) {
3 (ptr : ConstPtr[Byte]) -> Byte
byte_pointer_get(ConstPtr[Byte]
self)
4}
5
6///|
7pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Char
Char with (self : ConstPtr[Char]) -> Char
get(ConstPtr[Char]
self : type ConstPtr[T]
ConstPtr[Char
Char]) {
8 (x : Int) -> Char
unsafe_coerce((ptr : ConstPtr[Int]) -> Int
int32_pointer_get((x : ConstPtr[Char]) -> ConstPtr[Int]
unsafe_coerce(ConstPtr[Char]
self)))
9}
10
11///|
12pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Int16
Int16 with (self : ConstPtr[Int16]) -> Int16
get(ConstPtr[Int16]
self : type ConstPtr[T]
ConstPtr[Int16
Int16]) {
13 (ptr : ConstPtr[Int16]) -> Int16
int16_pointer_get(ConstPtr[Int16]
self)
14}
15
16///|
17pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Int
Int with (self : ConstPtr[Int]) -> Int
get(ConstPtr[Int]
self : type ConstPtr[T]
ConstPtr[Int
Int]) {
18 (ptr : ConstPtr[Int]) -> Int
int32_pointer_get(ConstPtr[Int]
self)
19}
20
21///|
22pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Int64
Int64 with (self : ConstPtr[Int64]) -> Int64
get(ConstPtr[Int64]
self : type ConstPtr[T]
ConstPtr[Int64
Int64]) {
23 (ptr : ConstPtr[Int64]) -> Int64
int64_pointer_get(ConstPtr[Int64]
self)
24}
25
26///|
27pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for UInt16
UInt16 with (self : ConstPtr[UInt16]) -> UInt16
get(ConstPtr[UInt16]
self : type ConstPtr[T]
ConstPtr[UInt16
UInt16]) {
28 (ptr : ConstPtr[UInt16]) -> UInt16
uint16_pointer_get(ConstPtr[UInt16]
self)
29}
30
31///|
32pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for UInt
UInt with (self : ConstPtr[UInt]) -> UInt
get(ConstPtr[UInt]
self : type ConstPtr[T]
ConstPtr[UInt
UInt]) {
33 (ptr : ConstPtr[UInt]) -> UInt
uint32_pointer_get(ConstPtr[UInt]
self)
34}
35
36///|
37pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for UInt64
UInt64 with (self : ConstPtr[UInt64]) -> UInt64
get(ConstPtr[UInt64]
self : type ConstPtr[T]
ConstPtr[UInt64
UInt64]) {
38 (ptr : ConstPtr[UInt64]) -> UInt64
uint64_pointer_get(ConstPtr[UInt64]
self)
39}
40
41///|
42pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Float
Float with (self : ConstPtr[Float]) -> Float
get(ConstPtr[Float]
self : type ConstPtr[T]
ConstPtr[Float
Float]) {
43 (ptr : ConstPtr[Float]) -> Float
float_pointer_get(ConstPtr[Float]
self)
44}
45
46///|
47pub impl trait Getter {
get(ConstPtr[Self]) -> Self
}
Getter for Double
Double with (self : ConstPtr[Double]) -> Double
get(ConstPtr[Double]
self : type ConstPtr[T]
ConstPtr[Double
Double]) {
48 (ptr : ConstPtr[Double]) -> Double
double_pointer_get(ConstPtr[Double]
self)
49}
50