pub struct SpotlightColor {
pub r: u8,
pub g: u8,
pub b: u8,
pub a: f32,
}Expand description
Spotlight color configuration
Fields§
§r: u8§g: u8§b: u8§a: f32Implementations§
Trait Implementations§
Source§impl Clone for SpotlightColor
impl Clone for SpotlightColor
Source§fn clone(&self) -> SpotlightColor
fn clone(&self) -> SpotlightColor
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 SpotlightColor
impl Debug for SpotlightColor
Source§impl Default for SpotlightColor
impl Default for SpotlightColor
impl Copy for SpotlightColor
Auto Trait Implementations§
impl Freeze for SpotlightColor
impl RefUnwindSafe for SpotlightColor
impl Send for SpotlightColor
impl Sync for SpotlightColor
impl Unpin for SpotlightColor
impl UnsafeUnpin for SpotlightColor
impl UnwindSafe for SpotlightColor
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