pub struct BranchPublic {
pub play: MovePublic,
pub position: PositionPublic,
}Expand description
Public data associated with a branch root.
Fields§
§play: MovePublicPublic data associated with the move.
position: PositionPublicPublic data associated with the resulting position.
Trait Implementations§
Source§impl Clone for BranchPublic
impl Clone for BranchPublic
Source§fn clone(&self) -> BranchPublic
fn clone(&self) -> BranchPublic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BranchPublic
impl Default for BranchPublic
Source§fn default() -> BranchPublic
fn default() -> BranchPublic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BranchPublic
impl<'de> Deserialize<'de> for BranchPublic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BranchPublic
impl PartialEq for BranchPublic
Source§fn eq(&self, other: &BranchPublic) -> bool
fn eq(&self, other: &BranchPublic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BranchPublic
impl Serialize for BranchPublic
impl StructuralPartialEq for BranchPublic
Auto Trait Implementations§
impl Freeze for BranchPublic
impl RefUnwindSafe for BranchPublic
impl Send for BranchPublic
impl Sync for BranchPublic
impl Unpin for BranchPublic
impl UnsafeUnpin for BranchPublic
impl UnwindSafe for BranchPublic
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