Enum web_sys::BasicCardType
source · [−]pub enum BasicCardType {
Credit,
Debit,
Prepaid,
// some variants omitted
}
Expand description
The BasicCardType
enum.
This API requires the following crate features to be activated: BasicCardType
Variants
Credit
Debit
Prepaid
Implementations
sourceimpl BasicCardType
impl BasicCardType
pub fn from_js_value(obj: &JsValue) -> Option<BasicCardType>
Trait Implementations
sourceimpl Clone for BasicCardType
impl Clone for BasicCardType
sourcefn clone(&self) -> BasicCardType
fn clone(&self) -> BasicCardType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BasicCardType
impl Debug for BasicCardType
sourceimpl From<BasicCardType> for JsValue
impl From<BasicCardType> for JsValue
sourcefn from(obj: BasicCardType) -> JsValue
fn from(obj: BasicCardType) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for BasicCardType
impl FromWasmAbi for BasicCardType
sourceimpl IntoWasmAbi for BasicCardType
impl IntoWasmAbi for BasicCardType
sourceimpl OptionFromWasmAbi for BasicCardType
impl OptionFromWasmAbi for BasicCardType
sourceimpl OptionIntoWasmAbi for BasicCardType
impl OptionIntoWasmAbi for BasicCardType
sourceimpl PartialEq<BasicCardType> for BasicCardType
impl PartialEq<BasicCardType> for BasicCardType
sourcefn eq(&self, other: &BasicCardType) -> bool
fn eq(&self, other: &BasicCardType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl WasmDescribe for BasicCardType
impl WasmDescribe for BasicCardType
impl Copy for BasicCardType
impl Eq for BasicCardType
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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
sourcefn 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
. Read more