pub struct RefEngine { /* private fields */ }Implementations§
Source§impl RefEngine
impl RefEngine
pub fn state_count(&self) -> usize
pub fn transition_cells(&self) -> usize
pub fn byte_class_count(&self) -> usize
pub fn live_transition_count(&self) -> usize
pub fn transition_density(&self) -> f64
pub fn transition_count(&self) -> usize
👎Deprecated:
use live_transition_count() (or transition_cells() for the cell count)
pub fn start(&self) -> StateId
pub fn dead(&self) -> StateId
pub fn is_accepting(&self, s: StateId) -> bool
pub fn is_dead(&self, s: StateId) -> bool
pub fn can_continue(&self, s: StateId) -> bool
pub fn heap_bytes(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefEngine
impl RefUnwindSafe for RefEngine
impl Send for RefEngine
impl Sync for RefEngine
impl Unpin for RefEngine
impl UnsafeUnpin for RefEngine
impl UnwindSafe for RefEngine
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