pub struct OrbClientPlatform { /* private fields */ }Expand description
Describes a Slint platform that is based on OrbClient and so can run on also on Redox OS.
Implementations§
Trait Implementations§
Source§impl Default for OrbClientPlatform
impl Default for OrbClientPlatform
Source§impl From<Config> for OrbClientPlatform
impl From<Config> for OrbClientPlatform
Source§impl Platform for OrbClientPlatform
impl Platform for OrbClientPlatform
Source§fn create_window_adapter(&self) -> Rc<dyn WindowAdapter>
fn create_window_adapter(&self) -> Rc<dyn WindowAdapter>
Instantiate a window for a component.
Source§fn set_clipboard_text(&self, text: &str)
fn set_clipboard_text(&self, text: &str)
Sends the given text into the system clipboard
Source§fn clipboard_text(&self) -> Option<String>
fn clipboard_text(&self) -> Option<String>
Returns a copy of text stored in the system clipboard, if any.
Source§fn duration_since_start(&self) -> Duration
fn duration_since_start(&self) -> Duration
Returns the current time as a monotonic duration since the start of the program Read more
Source§fn run_event_loop(&self)
fn run_event_loop(&self)
Spins an event loop and renders the visible windows.
Source§fn new_event_loop_proxy(&self) -> Option<Box<dyn EventLoopProxy>>
fn new_event_loop_proxy(&self) -> Option<Box<dyn EventLoopProxy>>
Return an
EventLoopProxy that can be used to send event to the event loop Read moreAuto Trait Implementations§
impl !Freeze for OrbClientPlatform
impl !RefUnwindSafe for OrbClientPlatform
impl !Send for OrbClientPlatform
impl !Sync for OrbClientPlatform
impl Unpin for OrbClientPlatform
impl !UnwindSafe for OrbClientPlatform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more