Enum pax_runtime_api::ColorMessage 
source · #[repr(C)]pub enum ColorMessage {
    Rgba([f64; 4]),
    Rgb([f64; 3]),
}Variants§
Trait Implementations§
source§impl Clone for ColorMessage
 
impl Clone for ColorMessage
source§fn clone(&self) -> ColorMessage
 
fn clone(&self) -> ColorMessage
Returns a copy 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 ColorMessage
 
impl Debug for ColorMessage
source§impl Default for ColorMessage
 
impl Default for ColorMessage
source§fn default() -> ColorMessage
 
fn default() -> ColorMessage
Returns the “default value” for a type. Read more
source§impl Into<ColorMessage> for &Color
 
impl Into<ColorMessage> for &Color
source§fn into(self) -> ColorMessage
 
fn into(self) -> ColorMessage
Converts this type into the (usually inferred) input type.
source§impl PartialEq<ColorMessage> for Color
 
impl PartialEq<ColorMessage> for Color
source§impl PartialEq for ColorMessage
 
impl PartialEq for ColorMessage
source§impl Serialize for ColorMessage
 
impl Serialize for ColorMessage
source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ColorMessage
Auto Trait Implementations§
impl Freeze for ColorMessage
impl RefUnwindSafe for ColorMessage
impl Send for ColorMessage
impl Sync for ColorMessage
impl Unpin for ColorMessage
impl UnwindSafe for ColorMessage
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, U> RoundInto<U> for Twhere
    U: RoundFrom<T>,
 
impl<T, U> RoundInto<U> for Twhere
    U: RoundFrom<T>,
source§fn round_into(self) -> U
 
fn round_into(self) -> U
Performs the conversion.