Struct tao::system_tray::SystemTrayBuilder[][src]

pub struct SystemTrayBuilder(_);
Expand description

Object that allows you to build SystemTray instance.

Implementations

Creates a new SystemTray for platforms where this is appropriate.

Platform-specific

  • macOS / Windows:: receive icon as bytes (Vec<u8>)
  • Linux:: receive icon’s path (PathBuf)

Builds the SystemTray.

Possible causes of error include denied permission, incompatible system, and lack of memory.

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.