pub struct MoveLine {
pub csa: CsaMove,
pub elapsed: Option<u64>,
pub comment: Option<String>,
}Expand description
A move line, optionally annotated with consumed time and a comment.
The server annotates broadcast moves with ,T<integer>. Clients may
annotate their own moves with a ,' comment, which floodgate uses to carry
evaluation and principal variation.
Fields§
§csa: CsaMoveThe move itself.
elapsed: Option<u64>Raw integer time annotation, without unit conversion.
Normally expressed in Time_Unit units. Server implementations may
differ (for example, stopwatch clocks); the session consumer must define
the normalization. Fractional annotations are not supported.
comment: Option<String>Comment text, without the leading '.
Implementations§
Trait Implementations§
impl Eq for MoveLine
impl StructuralPartialEq for MoveLine
Auto Trait Implementations§
impl Forget for MoveLine
impl Freeze for MoveLine
impl RefUnwindSafe for MoveLine
impl Send for MoveLine
impl Sync for MoveLine
impl Unpin for MoveLine
impl UnsafeUnpin for MoveLine
impl UnwindSafe for MoveLine
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