Module automaton stdlib

automaton
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
0
Imported by:
0
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

This section is empty.

Imported by

This section is empty.

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn gun

fn gun() Automaton

Structs

#struct A2D

pub struct A2D {
pub mut:
	maxx int
	maxy int
	data &int
}

///////////////////////////////////////////////////////////

#fn (&A2D) set

inline
fn (a &A2D) set(x int, y int, newval int)

#fn (&A2D) get

inline
fn (a &A2D) get(x int, y int) int

#fn (&A2D) clear

inline
fn (a &A2D) clear()

#struct Automaton

pub struct Automaton {
pub mut:
	field     &A2D = unsafe { nil }
	new_field &A2D = unsafe { nil }
}

///////////////////////////////////////////////////////////

#fn new_automaton

fn new_automaton(ftext string) Automaton

#fn (&Automaton) update

fn (mut aa &Automaton) update()

Interfaces

This section is empty.

Enums

This section is empty.