pub struct DesktopConfig {
pub resolution: [u32; 2],
pub depth: u8,
pub display_start: u16,
pub display_end: u16,
pub startup_timeout_seconds: u64,
pub tools: DesktopTools,
pub window_manager: DesktopApplication,
pub panel: DesktopApplication,
pub wallpaper: DesktopApplication,
pub terminal: DesktopApplication,
pub files: DesktopApplication,
pub branding: DesktopBranding,
}Expand description
Linux desktop geometry, tool discovery, optional components, and artwork.
Fields§
§resolution: [u32; 2]Private virtual display width and height in pixels.
depth: u8Virtual display colour depth: 16, 24, or 32.
display_start: u16First candidate X11 display number, inclusive.
display_end: u16Last candidate X11 display number, exclusive.
startup_timeout_seconds: u64Display/browser startup deadline.
tools: DesktopToolsPrivate display tools.
window_manager: DesktopApplicationOptional window manager.
panel: DesktopApplicationOptional tint2-compatible panel.
wallpaper: DesktopApplicationOptional wallpaper setter, whose last argument is the artwork path.
terminal: DesktopApplicationOptional terminal launcher.
files: DesktopApplicationOptional file-manager launcher.
branding: DesktopBrandingArtwork and panel templates.
Trait Implementations§
Source§impl Clone for DesktopConfig
impl Clone for DesktopConfig
Source§impl Debug for DesktopConfig
impl Debug for DesktopConfig
Source§impl Default for DesktopConfig
impl Default for DesktopConfig
Source§impl<'de> Deserialize<'de> for DesktopConfigwhere
DesktopConfig: Default,
impl<'de> Deserialize<'de> for DesktopConfigwhere
DesktopConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DesktopConfig
Source§impl PartialEq for DesktopConfig
impl PartialEq for DesktopConfig
Source§impl Serialize for DesktopConfig
impl Serialize for DesktopConfig
impl StructuralPartialEq for DesktopConfig
Auto Trait Implementations§
impl Freeze for DesktopConfig
impl RefUnwindSafe for DesktopConfig
impl Send for DesktopConfig
impl Sync for DesktopConfig
impl Unpin for DesktopConfig
impl UnsafeUnpin for DesktopConfig
impl UnwindSafe for DesktopConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.