pub trait ClipboardBackend: 'static {
    fn get(&mut self) -> Option<String>;
    fn set(&mut self, value: &str);
}
Expand description

Trait for clipboard backends

Required Methods§

Returns the current clipboard contents as an owned imgui-rs string, or None if the clipboard is empty or inaccessible

Sets the clipboard contents to the given imgui-rs string slice.

Implementors§