1///|
2pub impl 
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Byte
Byte
with
(self : Ptr[Byte], x : Byte) -> Unit
set
(
Ptr[Byte]
self
:
type Ptr[T]
Ptr
[
Byte
Byte
],
Byte
x
:
Byte
Byte
) {
3
(ptr : Ptr[Byte], x : Byte) -> Unit
byte_pointer_set
(
Ptr[Byte]
self
,
Byte
x
)
4} 5 6///| 7pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Char
Char
with
(self : Ptr[Char], x : Char) -> Unit
set
(
Ptr[Char]
self
:
type Ptr[T]
Ptr
[
Char
Char
],
Char
x
:
Char
Char
) {
8
(ptr : Ptr[Int], x : Int) -> Unit
int32_pointer_set
(
(x : Ptr[Char]) -> Ptr[Int]
unsafe_coerce
(
Ptr[Char]
self
),
(x : Char) -> Int
unsafe_coerce
(
Char
x
))
9} 10 11///| 12pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Int16
Int16
with
(self : Ptr[Int16], x : Int16) -> Unit
set
(
Ptr[Int16]
self
:
type Ptr[T]
Ptr
[
Int16
Int16
],
Int16
x
:
Int16
Int16
) {
13
(ptr : Ptr[Int16], x : Int16) -> Unit
int16_pointer_set
(
Ptr[Int16]
self
,
Int16
x
)
14} 15 16///| 17pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Int
Int
with
(self : Ptr[Int], x : Int) -> Unit
set
(
Ptr[Int]
self
:
type Ptr[T]
Ptr
[
Int
Int
],
Int
x
:
Int
Int
) {
18
(ptr : Ptr[Int], x : Int) -> Unit
int32_pointer_set
(
Ptr[Int]
self
,
Int
x
)
19} 20 21///| 22pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Int64
Int64
with
(self : Ptr[Int64], x : Int64) -> Unit
set
(
Ptr[Int64]
self
:
type Ptr[T]
Ptr
[
Int64
Int64
],
Int64
x
:
Int64
Int64
) {
23
(ptr : Ptr[Int64], x : Int64) -> Unit
int64_pointer_set
(
Ptr[Int64]
self
,
Int64
x
)
24} 25 26///| 27pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
UInt16
UInt16
with
(self : Ptr[UInt16], x : UInt16) -> Unit
set
(
Ptr[UInt16]
self
:
type Ptr[T]
Ptr
[
UInt16
UInt16
],
UInt16
x
:
UInt16
UInt16
) {
28
(ptr : Ptr[UInt16], x : UInt16) -> Unit
uint16_pointer_set
(
Ptr[UInt16]
self
,
UInt16
x
)
29} 30 31///| 32pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
UInt
UInt
with
(self : Ptr[UInt], x : UInt) -> Unit
set
(
Ptr[UInt]
self
:
type Ptr[T]
Ptr
[
UInt
UInt
],
UInt
x
:
UInt
UInt
) {
33
(ptr : Ptr[UInt], x : UInt) -> Unit
uint32_pointer_set
(
Ptr[UInt]
self
,
UInt
x
)
34} 35 36///| 37pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
UInt64
UInt64
with
(self : Ptr[UInt64], x : UInt64) -> Unit
set
(
Ptr[UInt64]
self
:
type Ptr[T]
Ptr
[
UInt64
UInt64
],
UInt64
x
:
UInt64
UInt64
) {
38
(ptr : Ptr[UInt64], x : UInt64) -> Unit
uint64_pointer_set
(
Ptr[UInt64]
self
,
UInt64
x
)
39} 40 41///| 42pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Float
Float
with
(self : Ptr[Float], x : Float) -> Unit
set
(
Ptr[Float]
self
:
type Ptr[T]
Ptr
[
Float
Float
],
Float
x
:
Float
Float
) {
43
(ptr : Ptr[Float], x : Float) -> Unit
float_pointer_set
(
Ptr[Float]
self
,
Float
x
)
44} 45 46///| 47pub impl
trait Setter {
  set(Ptr[Self], Self) -> Unit
}
Setter
for
Double
Double
with
(self : Ptr[Double], x : Double) -> Unit
set
(
Ptr[Double]
self
:
type Ptr[T]
Ptr
[
Double
Double
],
Double
x
:
Double
Double
) {
48
(ptr : Ptr[Double], x : Double) -> Unit
double_pointer_set
(
Ptr[Double]
self
,
Double
x
)
49} 50