Enum BellStyle

enum BellStyle

Beep or flash or nothing

Variants

Audible

Beep

None

Silent

Visible

Flash screen (not supported)

Implementations

impl Clone for BellStyle

fn clone(self: &Self) -> BellStyle

impl Copy for BellStyle

impl Debug for BellStyle

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for BellStyle

fn default() -> Self

impl Eq for BellStyle

impl Freeze for BellStyle

impl PartialEq for BellStyle

fn eq(self: &Self, other: &BellStyle) -> bool

impl RefUnwindSafe for BellStyle

impl Send for BellStyle

impl StructuralPartialEq for BellStyle

impl Sync for BellStyle

impl Unpin for BellStyle

impl UnwindSafe for BellStyle

impl<T> Any for BellStyle

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BellStyle

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for BellStyle

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for BellStyle

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for BellStyle

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for BellStyle

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for BellStyle

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for BellStyle

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for BellStyle

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>