add uniffi CharGrid
This commit is contained in:
parent
9553d9fe42
commit
d0d70c079e
9 changed files with 755 additions and 10 deletions
|
@ -75,6 +75,12 @@ impl BrightnessGrid {
|
|||
}
|
||||
|
||||
pub fn copy_raw(&self) -> Vec<u8> {
|
||||
self.actual.read().unwrap().data_ref().iter().map(u8::from).collect()
|
||||
self.actual
|
||||
.read()
|
||||
.unwrap()
|
||||
.data_ref()
|
||||
.iter()
|
||||
.map(u8::from)
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue