pub struct Goban { /* private fields */ }
Implementations§
Source§impl Goban
impl Goban
pub fn from_sgf( sgf: &str, node_description: &NodeDescription, ) -> Result<Self, GobanError>
pub fn stones(&self) -> impl Iterator<Item = Stone> + '_
pub fn stones_before_move( &self, move_number: u64, ) -> Box<dyn Iterator<Item = Stone> + '_>
pub fn stone_color(&self, x: u8, y: u8) -> Option<StoneColor>
pub fn moves(&self) -> impl Iterator<Item = (u64, Stone)> + '_
pub fn hoshi_points(&self) -> impl Iterator<Item = (u8, u8)>
pub fn size(&self) -> (u8, u8)
pub fn marks(&self) -> impl Iterator<Item = (u8, u8)> + '_
pub fn triangles(&self) -> impl Iterator<Item = (u8, u8)> + '_
pub fn circles(&self) -> impl Iterator<Item = (u8, u8)> + '_
pub fn squares(&self) -> impl Iterator<Item = (u8, u8)> + '_
pub fn selected(&self) -> impl Iterator<Item = (u8, u8)> + '_
pub fn dimmed(&self) -> impl Iterator<Item = (u8, u8)> + '_
pub fn lines(&self) -> impl Iterator<Item = ((u8, u8), (u8, u8))> + '_
pub fn arrows(&self) -> impl Iterator<Item = ((u8, u8), (u8, u8))> + '_
pub fn labels(&self) -> impl Iterator<Item = (&(u8, u8), &String)>
Auto Trait Implementations§
impl Freeze for Goban
impl RefUnwindSafe for Goban
impl Send for Goban
impl Sync for Goban
impl Unpin for Goban
impl UnwindSafe for Goban
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