Struct souvlaki::PlatformConfig[][src]

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.