Struct souvlaki::PlatformConfig
source · pub struct PlatformConfig<'a> {
pub display_name: &'a str,
pub dbus_name: &'a str,
pub hwnd: Option<*mut c_void>,
}
Expand description
OS-specific configuration needed to create media controls.
Fields§
§display_name: &'a str
The name to be displayed to the user. (Required on Linux)
dbus_name: &'a str
Should follow the D-Bus spec. (Required on Linux)
hwnd: Option<*mut c_void>
An HWND. (Required on Windows)
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PlatformConfig<'a>
impl<'a> !Send for PlatformConfig<'a>
impl<'a> !Sync for PlatformConfig<'a>
impl<'a> Unpin for PlatformConfig<'a>
impl<'a> UnwindSafe for PlatformConfig<'a>
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