pub struct ApplicationSwitcherDescription {
pub label: Option<String>,
pub primary_color: Option<u32>,
}Expand description
Specifies a description of the application that is pertinent to the embedder’s application switcher (also known as “recent tasks”) user interface.
Flutter counterpart: ApplicationSwitcherDescription (services/system_chrome.dart).
It lives here because Platform names it.
Fields§
§label: Option<String>A label and description of the current state of the application.
primary_color: Option<u32>The application’s primary color, as a 32-bit ARGB value.
This may influence the color that the operating system uses to represent the application.
Trait Implementations§
Source§impl Clone for ApplicationSwitcherDescription
impl Clone for ApplicationSwitcherDescription
Source§fn clone(&self) -> ApplicationSwitcherDescription
fn clone(&self) -> ApplicationSwitcherDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ApplicationSwitcherDescription
impl Default for ApplicationSwitcherDescription
Source§fn default() -> ApplicationSwitcherDescription
fn default() -> ApplicationSwitcherDescription
Returns the “default value” for a type. Read more
impl Eq for ApplicationSwitcherDescription
impl StructuralPartialEq for ApplicationSwitcherDescription
Auto Trait Implementations§
impl Freeze for ApplicationSwitcherDescription
impl RefUnwindSafe for ApplicationSwitcherDescription
impl Send for ApplicationSwitcherDescription
impl Sync for ApplicationSwitcherDescription
impl Unpin for ApplicationSwitcherDescription
impl UnsafeUnpin for ApplicationSwitcherDescription
impl UnwindSafe for ApplicationSwitcherDescription
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.