pub struct Counters {
pub counters_list: Vec<CounterInstance>,
pub handles_list: Vec<HandleInstance>,
}
Fields§
§counters_list: Vec<CounterInstance>
§handles_list: Vec<HandleInstance>
Implementations§
Source§impl Counters
impl Counters
pub fn new() -> Counters
pub fn get_counters_from_json(&mut self, json: &DataCell)
pub fn add_counter(&mut self, counter: CounterInstance)
pub fn add_handle(&mut self, handle: HandleInstance)
pub fn remove_counter(&mut self, counter: &CounterInstance)
pub fn execute( &mut self, command_type: CommandType, counter_name: &str, handle_name: &Option<String>, ) -> Option<String>
pub fn check_scope( &self, block_cell: &DataCell, counter_name: &str, json_tree: &DataCell, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnwindSafe for Counters
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