[][src]Trait imgui::ClipboardBackend

pub trait ClipboardBackend {
    fn get(&mut self) -> Option<ImString>;
fn set(&mut self, value: &ImStr); }

Trait for clipboard backends

Required methods

fn get(&mut self) -> Option<ImString>

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

fn set(&mut self, value: &ImStr)

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

Loading content...

Implementors

Loading content...