Enum web_sys::BasicCardType
source · pub enum BasicCardType {
Credit,
Debit,
Prepaid,
// some variants omitted
}
Variants§
Implementations§
source§impl BasicCardType
impl BasicCardType
pub fn from_js_value(obj: &JsValue) -> Option<BasicCardType>
Trait Implementations§
source§impl Clone for BasicCardType
impl Clone for BasicCardType
source§fn clone(&self) -> BasicCardType
fn clone(&self) -> BasicCardType
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 BasicCardType
impl Debug for BasicCardType
source§impl From<BasicCardType> for JsValue
impl From<BasicCardType> for JsValue
source§fn from(obj: BasicCardType) -> JsValue
fn from(obj: BasicCardType) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for BasicCardType
impl FromWasmAbi for BasicCardType
source§impl IntoWasmAbi for BasicCardType
impl IntoWasmAbi for BasicCardType
source§impl PartialEq<BasicCardType> for BasicCardType
impl PartialEq<BasicCardType> for BasicCardType
source§fn eq(&self, other: &BasicCardType) -> bool
fn eq(&self, other: &BasicCardType) -> bool
impl Copy for BasicCardType
impl StructuralPartialEq for BasicCardType
Auto Trait Implementations§
impl RefUnwindSafe for BasicCardType
impl Send for BasicCardType
impl Sync for BasicCardType
impl Unpin for BasicCardType
impl UnwindSafe for BasicCardType
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more