pub struct Rgb {
pub r: u8,
pub g: u8,
pub b: u8,
pub a: f32,
}
Fields§
§r: u8
§g: u8
§b: u8
§a: f32
Trait Implementations§
Source§impl FromWasmAbi for Rgb
impl FromWasmAbi for Rgb
Source§impl IntoWasmAbi for Rgb
impl IntoWasmAbi for Rgb
Source§impl LongRefFromWasmAbi for Rgb
impl LongRefFromWasmAbi for Rgb
Source§impl OptionFromWasmAbi for Rgb
impl OptionFromWasmAbi for Rgb
Source§impl OptionIntoWasmAbi for Rgb
impl OptionIntoWasmAbi for Rgb
Source§impl RefFromWasmAbi for Rgb
impl RefFromWasmAbi for Rgb
Source§impl RefMutFromWasmAbi for Rgb
impl RefMutFromWasmAbi for Rgb
Source§impl TryFromJsValue for Rgb
impl TryFromJsValue for Rgb
Source§impl VectorFromWasmAbi for Rgb
impl VectorFromWasmAbi for Rgb
Source§impl VectorIntoWasmAbi for Rgb
impl VectorIntoWasmAbi for Rgb
impl StructuralPartialEq for Rgb
impl SupportsConstructor for Rgb
impl SupportsInstanceProperty for Rgb
impl SupportsStaticProperty for Rgb
Auto Trait Implementations§
impl Freeze for Rgb
impl RefUnwindSafe for Rgb
impl Send for Rgb
impl Sync for Rgb
impl Unpin for Rgb
impl UnwindSafe for Rgb
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.