pub enum PiezoSpeakerBrickletFunction {
Beep,
MorseCode,
Calibrate,
GetIdentity,
CallbackBeepFinished,
CallbackMorseCodeFinished,
}
Variants
Trait Implementations
sourceimpl From<PiezoSpeakerBrickletFunction> for u8
impl From<PiezoSpeakerBrickletFunction> for u8
sourcefn from(fun: PiezoSpeakerBrickletFunction) -> Self
fn from(fun: PiezoSpeakerBrickletFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PiezoSpeakerBrickletFunction
impl Send for PiezoSpeakerBrickletFunction
impl Sync for PiezoSpeakerBrickletFunction
impl Unpin for PiezoSpeakerBrickletFunction
impl UnwindSafe for PiezoSpeakerBrickletFunction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more