Struct tantivy_fst::raw::Transition
source · pub struct Transition {
pub inp: u8,
pub out: Output,
pub addr: CompiledAddr,
}
Expand description
A transition from one note to another.
Fields§
§inp: u8
The byte input associated with this transition.
out: Output
The output associated with this transition.
addr: CompiledAddr
The address of the node that this transition points to.
Trait Implementations§
source§impl Clone for Transition
impl Clone for Transition
source§fn clone(&self) -> Transition
fn clone(&self) -> Transition
Returns a copy 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 Transition
impl Debug for Transition
source§impl Default for Transition
impl Default for Transition
source§impl Hash for Transition
impl Hash for Transition
source§impl PartialEq for Transition
impl PartialEq for Transition
source§fn eq(&self, other: &Transition) -> bool
fn eq(&self, other: &Transition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Transition
impl Eq for Transition
impl StructuralEq for Transition
impl StructuralPartialEq for Transition
Auto Trait Implementations§
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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