Enum usiagent::command::UsiInfoSubCommand
source · pub enum UsiInfoSubCommand {
Depth(u32),
SelDepth(u32),
Time(u64),
Nodes(u64),
Pv(Vec<Move>),
MultiPv(u32),
Score(UsiScore),
CurrMove(Move),
Hashfull(u64),
Nps(u64),
Str(String),
}Expand description
infoコマンドのサブコマンド
Variants§
Depth(u32)
depth
SelDepth(u32)
seldepth
Time(u64)
time
Nodes(u64)
nodes
Pv(Vec<Move>)
pv
MultiPv(u32)
multipv
Score(UsiScore)
score
CurrMove(Move)
currmove
Hashfull(u64)
hashfull
Nps(u64)
nps
Str(String)
string
Implementations§
source§impl UsiInfoSubCommand
impl UsiInfoSubCommand
sourcepub fn get_kind(&self) -> UsiInfoSubCommandKind
pub fn get_kind(&self) -> UsiInfoSubCommandKind
対応するコマンド種別を取得する
Trait Implementations§
source§impl Clone for UsiInfoSubCommand
impl Clone for UsiInfoSubCommand
source§fn clone(&self) -> UsiInfoSubCommand
fn clone(&self) -> UsiInfoSubCommand
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 UsiInfoSubCommand
impl Debug for UsiInfoSubCommand
source§impl PartialEq<UsiInfoSubCommand> for UsiInfoSubCommand
impl PartialEq<UsiInfoSubCommand> for UsiInfoSubCommand
source§fn eq(&self, other: &UsiInfoSubCommand) -> bool
fn eq(&self, other: &UsiInfoSubCommand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ToUsiCommand<String, UsiOutputCreateError> for UsiInfoSubCommand
impl ToUsiCommand<String, UsiOutputCreateError> for UsiInfoSubCommand
fn to_usi_command(&self) -> Result<String, UsiOutputCreateError>
source§impl Validate for UsiInfoSubCommand
impl Validate for UsiInfoSubCommand
impl Eq for UsiInfoSubCommand
impl StructuralEq for UsiInfoSubCommand
impl StructuralPartialEq for UsiInfoSubCommand
Auto Trait Implementations§
impl RefUnwindSafe for UsiInfoSubCommand
impl Send for UsiInfoSubCommand
impl Sync for UsiInfoSubCommand
impl Unpin for UsiInfoSubCommand
impl UnwindSafe for UsiInfoSubCommand
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