pub struct Int {
pub token_index: u32,
pub tokens: Arc<Vec<BdecodeToken>>,
pub buffer: Arc<Vec<u8>>,
}Fields§
§token_index: u32当前节点在 tokens 中的索引 0 - root 节点值; -1 - 未初始化
tokens: Arc<Vec<BdecodeToken>>解析后的 token 集合
buffer: Arc<Vec<u8>>存放解析前字符串的 buffer
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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