pub struct StateInstructions {
pub percentage: f32,
pub instruction_list: Vec<Instruction>,
}Fields§
§percentage: f32§instruction_list: Vec<Instruction>Implementations§
Source§impl StateInstructions
impl StateInstructions
pub fn update_percentage(&mut self, modifier: f32)
Trait Implementations§
Source§impl Clone for StateInstructions
impl Clone for StateInstructions
Source§fn clone(&self) -> StateInstructions
fn clone(&self) -> StateInstructions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StateInstructions
impl Debug for StateInstructions
Source§impl Default for StateInstructions
impl Default for StateInstructions
Source§fn default() -> StateInstructions
fn default() -> StateInstructions
Returns the “default value” for a type. Read more
Source§impl PartialEq for StateInstructions
impl PartialEq for StateInstructions
impl StructuralPartialEq for StateInstructions
Auto Trait Implementations§
impl Freeze for StateInstructions
impl RefUnwindSafe for StateInstructions
impl Send for StateInstructions
impl Sync for StateInstructions
impl Unpin for StateInstructions
impl UnwindSafe for StateInstructions
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