pub struct WasmGradientStop { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl AsRef<JsValue> for WasmGradientStop
impl AsRef<JsValue> for WasmGradientStop
Source§impl Clone for WasmGradientStop
impl Clone for WasmGradientStop
Source§fn clone(&self) -> WasmGradientStop
fn clone(&self) -> WasmGradientStop
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 WasmGradientStop
impl Debug for WasmGradientStop
Source§impl From<WasmGradientStop> for JsValue
impl From<WasmGradientStop> for JsValue
Source§fn from(value: WasmGradientStop) -> Self
fn from(value: WasmGradientStop) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmGradientStop
impl FromWasmAbi for WasmGradientStop
Source§impl IntoWasmAbi for WasmGradientStop
impl IntoWasmAbi for WasmGradientStop
Source§impl JsCast for WasmGradientStop
impl JsCast for WasmGradientStop
Source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moreSource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Source§fn has_type<T>(&self) -> boolwhere
T: JsCast,
fn has_type<T>(&self) -> boolwhere
T: JsCast,
Test whether this JS value has a type
T
. Read moreSource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moreSource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moreSource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
Source§fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified
type. Read more
Source§impl OptionFromWasmAbi for WasmGradientStop
impl OptionFromWasmAbi for WasmGradientStop
Source§impl OptionIntoWasmAbi for WasmGradientStop
impl OptionIntoWasmAbi for WasmGradientStop
Source§impl RefFromWasmAbi for WasmGradientStop
impl RefFromWasmAbi for WasmGradientStop
Source§type Anchor = RcRef<WasmGradientStop>
type Anchor = RcRef<WasmGradientStop>
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.Source§impl RefMutFromWasmAbi for WasmGradientStop
impl RefMutFromWasmAbi for WasmGradientStop
Source§impl TryFromJsValue for WasmGradientStop
impl TryFromJsValue for WasmGradientStop
Source§impl VectorFromWasmAbi for WasmGradientStop
impl VectorFromWasmAbi for WasmGradientStop
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmGradientStop]>
Source§impl VectorIntoJsValue for WasmGradientStop
impl VectorIntoJsValue for WasmGradientStop
fn vector_into_jsvalue(vector: Box<[WasmGradientStop]>) -> JsValue
Source§impl VectorIntoWasmAbi for WasmGradientStop
impl VectorIntoWasmAbi for WasmGradientStop
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmGradientStop]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmGradientStop
impl WasmDescribeVector for WasmGradientStop
Auto Trait Implementations§
impl Freeze for WasmGradientStop
impl RefUnwindSafe for WasmGradientStop
impl Send for WasmGradientStop
impl Sync for WasmGradientStop
impl Unpin for WasmGradientStop
impl UnwindSafe for WasmGradientStop
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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
.