Add a Default implementation for the transport
This commit is contained in:
parent
a483dbc6a6
commit
713e778117
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ pub trait GuiContext: Send + Sync + 'static {
|
|||
|
||||
/// Information about the plugin's transport. Depending on the plugin API and the host not all
|
||||
/// fields may be available.
|
||||
#[derive(Debug, Default)]
|
||||
pub struct Transport {
|
||||
/// Whether the transport is currently running.
|
||||
pub playing: bool,
|
||||
|
|
Loading…
Add table
Reference in a new issue