pub struct LinuxAppConfig { /* private fields */ }Expand description
Configuration for one standalone Linux window.
Implementations§
Source§impl LinuxAppConfig
impl LinuxAppConfig
Sourcepub fn with_background_rgb(self, red: u8, green: u8, blue: u8) -> Self
pub fn with_background_rgb(self, red: u8, green: u8, blue: u8) -> Self
Sets the window background shown behind Whisker content.
Sourcepub fn with_module(
self,
_elements: ElementModuleDefinition,
host: impl Into<LinuxModuleDefinition>,
) -> Self
pub fn with_module( self, _elements: ElementModuleDefinition, host: impl Into<LinuxModuleDefinition>, ) -> Self
Installs one module’s element schema and Host implementation.
Trait Implementations§
Source§impl Clone for LinuxAppConfig
impl Clone for LinuxAppConfig
Auto Trait Implementations§
impl !RefUnwindSafe for LinuxAppConfig
impl !Send for LinuxAppConfig
impl !Sync for LinuxAppConfig
impl !UnwindSafe for LinuxAppConfig
impl Forget for LinuxAppConfig
impl Freeze for LinuxAppConfig
impl Move for LinuxAppConfig
impl Unpin for LinuxAppConfig
impl UnsafeUnpin for LinuxAppConfig
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