Struct libhelium::builders::DesktopBuilder
source · [−]pub struct DesktopBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Desktop
objects.
Implementations
sourceimpl DesktopBuilder
impl DesktopBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new DesktopBuilder
.
pub fn prefers_color_scheme(
self,
prefers_color_scheme: DesktopColorScheme
) -> Self
pub fn accent_color(self, accent_color: &ColorRGBColor) -> Self
Trait Implementations
sourceimpl Clone for DesktopBuilder
impl Clone for DesktopBuilder
sourcefn clone(&self) -> DesktopBuilder
fn clone(&self) -> DesktopBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for DesktopBuilder
impl Default for DesktopBuilder
sourcefn default() -> DesktopBuilder
fn default() -> DesktopBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DesktopBuilder
impl !Send for DesktopBuilder
impl !Sync for DesktopBuilder
impl Unpin for DesktopBuilder
impl UnwindSafe for DesktopBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more