[−][src]Enum toio::proto::Sound
Message to the sound device.
Variants
Stops.
Preset(SoundPreset)
Plays the preset sound.
Play(SoundPlay)
Plays the sound with the list of operations.x
Implementations
impl Sound
[src]
impl Sound
[src]
pub fn new_preset(f0: SoundPreset) -> Self
[src]
Constructs a new Sound::Preset
.
impl Sound
[src]
Trait Implementations
impl Clone for Sound
[src]
impl Debug for Sound
[src]
impl Eq for Sound
[src]
impl PartialEq<Sound> for Sound
[src]
impl StructuralEq for Sound
[src]
impl StructuralPartialEq for Sound
[src]
impl<'_> TryFrom<&'_ [u8]> for Sound
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: &[u8]) -> Result<Self>
[src]
impl TryFrom<Sound> for Vec<u8>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Sound) -> Result<Self>
[src]
impl TryFrom<Sound> for (Uuid, Vec<u8>)
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: Sound) -> Result<Self>
[src]
impl TryFrom<Vec<u8>> for Sound
[src]
Auto Trait Implementations
impl RefUnwindSafe for Sound
impl Send for Sound
impl Sync for Sound
impl Unpin for Sound
impl UnwindSafe for Sound
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,