pub struct InstructionTextToken {
pub address: u64,
pub text: String,
pub confidence: u8,
pub context: InstructionTextTokenContext,
pub expr_index: usize,
pub kind: InstructionTextTokenKind,
}
Fields§
§address: u64
§text: String
§confidence: u8
§context: InstructionTextTokenContext
§expr_index: usize
§kind: InstructionTextTokenKind
Implementations§
source§impl InstructionTextToken
impl InstructionTextToken
pub fn new(text: impl Into<String>, kind: InstructionTextTokenKind) -> Self
pub fn new_with_address( address: u64, text: impl Into<String>, kind: InstructionTextTokenKind, ) -> Self
Trait Implementations§
source§impl Clone for InstructionTextToken
impl Clone for InstructionTextToken
source§fn clone(&self) -> InstructionTextToken
fn clone(&self) -> InstructionTextToken
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 InstructionTextToken
impl Debug for InstructionTextToken
source§impl Display for InstructionTextToken
impl Display for InstructionTextToken
source§impl PartialEq for InstructionTextToken
impl PartialEq for InstructionTextToken
impl Eq for InstructionTextToken
impl StructuralPartialEq for InstructionTextToken
Auto Trait Implementations§
impl Freeze for InstructionTextToken
impl RefUnwindSafe for InstructionTextToken
impl Send for InstructionTextToken
impl Sync for InstructionTextToken
impl Unpin for InstructionTextToken
impl UnwindSafe for InstructionTextToken
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