pub struct PlatformPreset {
pub name: &'static str,
}Expand description
Structured information about the platform’s default preset.
Returned by platform_preset_name(). The name field is the
user-facing preset name (e.g. "macos-monterey"), the preset the OS-first
pipeline merges the platform reader’s output over.
Display returns the user-facing name.
Fields§
§name: &'static strUser-facing preset name (e.g. “kde-breeze”, “adwaita”, “macos-monterey”).
Trait Implementations§
Source§impl Clone for PlatformPreset
impl Clone for PlatformPreset
Source§impl Debug for PlatformPreset
impl Debug for PlatformPreset
Source§impl Display for PlatformPreset
impl Display for PlatformPreset
impl Eq for PlatformPreset
Source§impl PartialEq for PlatformPreset
impl PartialEq for PlatformPreset
impl StructuralPartialEq for PlatformPreset
Auto Trait Implementations§
impl Forget for PlatformPreset
impl Freeze for PlatformPreset
impl Move for PlatformPreset
impl RefUnwindSafe for PlatformPreset
impl Send for PlatformPreset
impl Sync for PlatformPreset
impl Unpin for PlatformPreset
impl UnsafeUnpin for PlatformPreset
impl UnwindSafe for PlatformPreset
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