Enum async_uci::parse::OptionType
source · pub enum OptionType {
Check {
default: bool,
},
Spin {
default: isize,
min: isize,
max: isize,
},
Combo {
default: String,
options: Vec<String>,
},
Button,
String {
default: String,
},
}Expand description
Possible types for Engine Options
Variants§
Trait Implementations§
source§impl Clone for OptionType
impl Clone for OptionType
source§fn clone(&self) -> OptionType
fn clone(&self) -> OptionType
Returns a copy 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 OptionType
impl Debug for OptionType
source§impl PartialEq<OptionType> for OptionType
impl PartialEq<OptionType> for OptionType
source§fn eq(&self, other: &OptionType) -> bool
fn eq(&self, other: &OptionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OptionType
Auto Trait Implementations§
impl RefUnwindSafe for OptionType
impl Send for OptionType
impl Sync for OptionType
impl Unpin for OptionType
impl UnwindSafe for OptionType
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