pub enum PiezoSpeakerBrickletFunction {
Beep,
MorseCode,
Calibrate,
GetIdentity,
CallbackBeepFinished,
CallbackMorseCodeFinished,
}
Variants§
Trait Implementations§
source§impl From<PiezoSpeakerBrickletFunction> for u8
impl From<PiezoSpeakerBrickletFunction> for u8
source§fn 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§
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