Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

SetControlCenterColor

pub struct SetControlCenterColor {
    pub color: Option<ControlCenterColor>,
}
Expand description

Sets the background color of the collapsed Control Center while the sending app is visible. None restores the system theme color.

Fields

color: Option<ControlCenterColor>

Trait Implementations

impl AsScalar<1> for SetControlCenterColor

fn as_scalar(&self) -> [u32; 1]

impl Clone for SetControlCenterColor

fn clone(&self) -> SetControlCenterColor

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for SetControlCenterColor

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl FromScalar<1> for SetControlCenterColor

fn from_scalar([packed]: [u32; 1]) -> Self

impl MessageId for SetControlCenterColor

const ID: MessageId = 61usize

unique message identifier

const SERVER: &'static str = "os/gui-server"

target server name

impl Scalar for SetControlCenterColor

fn to_message(&self) -> ScalarMessage
where Self: Sized,

impl Copy for SetControlCenterColor

Auto Trait Implementations

impl Freeze for SetControlCenterColor

impl RefUnwindSafe for SetControlCenterColor

impl Send for SetControlCenterColor

impl Sync for SetControlCenterColor

impl Unpin for SetControlCenterColor

impl UnsafeUnpin for SetControlCenterColor

impl UnwindSafe for SetControlCenterColor