pub struct AppBuilder { /* private fields */ }Expand description
Builder for creating an rdesktop application.
Implementations§
Source§impl AppBuilder
impl AppBuilder
Sourcepub fn with_renderer(self, renderer: Box<dyn Renderer>) -> Self
pub fn with_renderer(self, renderer: Box<dyn Renderer>) -> Self
Set the renderer to use.
Sourcepub fn with_ipc_handler(self, handler: Box<dyn IpcHandler>) -> Self
pub fn with_ipc_handler(self, handler: Box<dyn IpcHandler>) -> Self
Set the IPC handler for frontend-to-backend communication.
Sourcepub fn with_html(self, html: impl Into<String>) -> Self
pub fn with_html(self, html: impl Into<String>) -> Self
Set the HTML to load in the main window.
Sourcepub fn with_setup<F>(self, setup: F) -> Self
pub fn with_setup<F>(self, setup: F) -> Self
Set a setup function that runs after renderer initialization.
Auto Trait Implementations§
impl !RefUnwindSafe for AppBuilder
impl !Send for AppBuilder
impl !Sync for AppBuilder
impl !UnwindSafe for AppBuilder
impl Freeze for AppBuilder
impl Unpin for AppBuilder
impl UnsafeUnpin for AppBuilder
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