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§
Source§impl Clone for SetControlCenterColor
impl Clone for SetControlCenterColor
Source§fn clone(&self) -> SetControlCenterColor
fn clone(&self) -> SetControlCenterColor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetControlCenterColor
impl Debug for SetControlCenterColor
Source§impl FromScalar<1> for SetControlCenterColor
impl FromScalar<1> for SetControlCenterColor
fn from_scalar([packed]: [u32; 1]) -> Self
Source§impl MessageId for SetControlCenterColor
impl MessageId for SetControlCenterColor
Source§impl Scalar for SetControlCenterColor
impl Scalar for SetControlCenterColor
fn to_message(&self) -> ScalarMessagewhere
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
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromScalar<2> for Twhere
T: FromScalar<1>,
impl<T> FromScalar<2> for Twhere
T: FromScalar<1>,
fn from_scalar(value: [u32; 2]) -> T
Source§impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
impl<T> FromScalar<3> for Twhere
T: FromScalar<2>,
fn from_scalar(value: [u32; 3]) -> T
Source§impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
impl<T> FromScalar<4> for Twhere
T: FromScalar<3>,
fn from_scalar(value: [u32; 4]) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.