-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
rror[E0599]: the method `write` exists for struct `Volatile<ScreenChar>`, but its trait bounds were not satisfied
--> src\vga_buffer.rs:97:45
|
55 | struct ScreenChar {
| -----------------
| |
| doesn't satisfy `<ScreenChar as Deref>::Target = _`
| doesn't satisfy `ScreenChar: Deref`
...
97 | self.buffer.chars[row][col].write(ScreenChar {
| ^^^^^ method cannot be called on `Volatile<ScreenChar>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`<ScreenChar as Deref>::Target = _`
`ScreenChar: Deref`
rustc --version
rustc 1.54.0-nightly (5c0292654 2021-05-11)
iddm
Metadata
Metadata
Assignees
Labels
No labels