#[repr(i32)]pub enum BeepType {
Default = 0,
Message = 1,
Error = 2,
Question = 3,
Password = 4,
Notification = 5,
}
Expand description
Defines the type of beep to be passed to the beep function
Variants§
Default = 0
Default beep
Message = 1
Message beep
Error = 2
Error beep
Question = 3
Question beep
Password = 4
Password sound
Notification = 5
Notification sound
Trait Implementations§
source§impl PartialEq for BeepType
impl PartialEq for BeepType
impl Copy for BeepType
impl Eq for BeepType
impl StructuralEq for BeepType
impl StructuralPartialEq for BeepType
Auto Trait Implementations§
impl RefUnwindSafe for BeepType
impl Send for BeepType
impl Sync for BeepType
impl Unpin for BeepType
impl UnwindSafe for BeepType
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