mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-26 22:32:33 +00:00
feat(core/rust/ui): implement Clone for StrBuffer
[no changelog]
This commit is contained in:
parent
4af5939a0b
commit
b8abccbc94
@ -20,6 +20,7 @@ use super::ffi;
|
||||
/// The `off` field represents offset from the `ptr` and allows us to do
|
||||
/// substring slices while keeping the head pointer as required by GC.
|
||||
#[repr(C)]
|
||||
#[derive(Clone)]
|
||||
pub struct StrBuffer {
|
||||
ptr: *const u8,
|
||||
len: u16,
|
||||
|
Loading…
Reference in New Issue
Block a user