pub enum Option {
Check {
name: String,
default: Option<bool>,
},
Spin {
name: String,
default: Option<i64>,
min: Option<i64>,
max: Option<i64>,
},
Combo {
name: String,
default: Option<String>,
variations: Vec<String>,
},
Button {
name: String,
},
String {
name: String,
default: Option<String>,
},
}Expand description
Variants§
Implementations§
Trait Implementations§
Source§impl TryFrom<RawEngineMessage> for Option
impl TryFrom<RawEngineMessage> for Option
Source§type Error = MessageTryFromRawMessageError<EngineMessageParameterPointer>
type Error = MessageTryFromRawMessageError<EngineMessageParameterPointer>
The type returned in the event of a conversion error.
impl Eq for Option
impl StructuralPartialEq for Option
Auto Trait Implementations§
impl Freeze for Option
impl RefUnwindSafe for Option
impl Send for Option
impl Sync for Option
impl Unpin for Option
impl UnwindSafe for Option
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