struct StateAnyTrans(u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl StateAnyTrans
impl StateAnyTrans
fn compile<W: Write>( wtr: W, addr: CompiledAddr, node: &BuilderNode, ) -> Result<()>
fn new() -> StateAnyTrans
fn set_final_state(&mut self, yes: bool)
fn is_final_state(&self) -> bool
fn set_state_ntrans(&mut self, n: u8)
fn state_ntrans(&self) -> Option<u8>
fn sizes(&self, data: &[u8]) -> PackSizes
fn total_trans_size( &self, version: u64, sizes: PackSizes, ntrans: usize, ) -> usize
fn trans_index_size(&self, version: u64, ntrans: usize) -> usize
fn ntrans_len(&self) -> usize
fn ntrans(&self, data: &[u8]) -> usize
fn final_output( &self, version: u64, data: &[u8], sizes: PackSizes, ntrans: usize, ) -> Output
fn end_addr( &self, version: u64, data: &[u8], sizes: PackSizes, ntrans: usize, ) -> usize
fn trans_addr(&self, node: &Node<'_>, i: usize) -> CompiledAddr
fn input(&self, node: &Node<'_>, i: usize) -> u8
fn find_input(&self, node: &Node<'_>, b: u8) -> Option<usize>
fn output(&self, node: &Node<'_>, i: usize) -> Output
Trait Implementations§
Source§impl Clone for StateAnyTrans
impl Clone for StateAnyTrans
Source§fn clone(&self) -> StateAnyTrans
fn clone(&self) -> StateAnyTrans
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 StateAnyTrans
impl Debug for StateAnyTrans
impl Copy for StateAnyTrans
Auto Trait Implementations§
impl Freeze for StateAnyTrans
impl RefUnwindSafe for StateAnyTrans
impl Send for StateAnyTrans
impl Sync for StateAnyTrans
impl Unpin for StateAnyTrans
impl UnwindSafe for StateAnyTrans
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