#[non_exhaustive]#[repr(u32)]pub enum BellStyle {
None = 0,
Sound = 1,
Visual = 2,
Both = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for BellStyle
impl FromWasmAbi for BellStyle
Source§impl IntoWasmAbi for BellStyle
impl IntoWasmAbi for BellStyle
Source§impl OptionFromWasmAbi for BellStyle
impl OptionFromWasmAbi for BellStyle
Source§impl OptionIntoWasmAbi for BellStyle
impl OptionIntoWasmAbi for BellStyle
Auto Trait Implementations§
impl Freeze for BellStyle
impl RefUnwindSafe for BellStyle
impl Send for BellStyle
impl Sync for BellStyle
impl Unpin for BellStyle
impl UnwindSafe for BellStyle
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
.