pub struct End {
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 End
impl RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl UnwindSafe for End
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