pub enum RingerMode {
Normal,
Vibrate,
Silent,
}Variants§
Trait Implementations§
Source§impl Clone for RingerMode
impl Clone for RingerMode
Source§fn clone(&self) -> RingerMode
fn clone(&self) -> RingerMode
Returns a duplicate 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 RingerMode
impl Debug for RingerMode
Source§impl<'de> Deserialize<'de> for RingerMode
impl<'de> Deserialize<'de> for RingerMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RingerMode
impl PartialEq for RingerMode
Source§impl Serialize for RingerMode
impl Serialize for RingerMode
impl Eq for RingerMode
impl StructuralPartialEq for RingerMode
Auto Trait Implementations§
impl Freeze for RingerMode
impl RefUnwindSafe for RingerMode
impl Send for RingerMode
impl Sync for RingerMode
impl Unpin for RingerMode
impl UnsafeUnpin for RingerMode
impl UnwindSafe for RingerMode
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