pub struct Action {
pub kind: usize,
pub params: Vec<f64>,
}Expand description
One gene of a GLEAM chain: an action type and its parameter values.
Fields§
§kind: usizeIndex into ActionModel::kinds.
params: Vec<f64>One value per parameter of the kind, within its ParamSpec.
Trait Implementations§
Source§impl Initializer<Action> for ActionModel
impl Initializer<Action> for ActionModel
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Forget for Action
impl Freeze for Action
impl Move for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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