[−][src]Struct elvis_web::Colors
Colors
interface
Methods
impl Colors
[src]
pub fn rgba(r: i16, g: i16, b: i16, a: f32) -> Colors
[src]
pub fn amber() -> Colors
[src]
pub fn amber_accent() -> Colors
[src]
pub fn black() -> Colors
[src]
pub fn blue() -> Colors
[src]
pub fn blue_accent() -> Colors
[src]
pub fn blue_grey() -> Colors
[src]
pub fn brown() -> Colors
[src]
pub fn cyan() -> Colors
[src]
pub fn cyan_accent() -> Colors
[src]
pub fn deep_orange() -> Colors
[src]
pub fn deep_orange_accent() -> Colors
[src]
pub fn deep_purple() -> Colors
[src]
pub fn deep_purple_accent() -> Colors
[src]
pub fn green() -> Colors
[src]
pub fn green_accent() -> Colors
[src]
pub fn grey() -> Colors
[src]
pub fn indigo() -> Colors
[src]
pub fn indigo_accent() -> Colors
[src]
pub fn inherit() -> Colors
[src]
pub fn light_blue() -> Colors
[src]
pub fn light_blue_accent() -> Colors
[src]
pub fn light_green() -> Colors
[src]
pub fn light_green_accent() -> Colors
[src]
pub fn lime() -> Colors
[src]
pub fn lime_accent() -> Colors
[src]
pub fn orange() -> Colors
[src]
pub fn orange_accent() -> Colors
[src]
pub fn pink() -> Colors
[src]
pub fn pink_accent() -> Colors
[src]
pub fn purple() -> Colors
[src]
pub fn purple_accent() -> Colors
[src]
pub fn red() -> Colors
[src]
pub fn red_accent() -> Colors
[src]
pub fn teal() -> Colors
[src]
pub fn teal_accent() -> Colors
[src]
pub fn transparent() -> Colors
[src]
pub fn white() -> Colors
[src]
pub fn yellow() -> Colors
[src]
pub fn yellow_accent() -> Colors
[src]
Trait Implementations
impl Clone for Colors
[src]
impl Copy for Colors
[src]
impl Default for Colors
[src]
impl From<Colors> for JsValue
[src]
impl FromWasmAbi for Colors
[src]
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32) -> Self
[src]
impl Into<Colors> for Colors
[src]
fn into(self) -> ElvisColors
[src]
impl IntoWasmAbi for Colors
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> u32
[src]
impl OptionFromWasmAbi for Colors
[src]
impl OptionIntoWasmAbi for Colors
[src]
impl RefFromWasmAbi for Colors
[src]
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, Colors>
The type that holds the reference to Self
for the duration of the invocation of the function that has an &Self
parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl RefMutFromWasmAbi for Colors
[src]
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, Colors>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl WasmDescribe for Colors
[src]
Auto Trait Implementations
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnwindSafe for Colors
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,