pub struct SerContext {
pub bis: Vec<String>,
pub seqs: Vec<String>,
}Fields§
§bis: Vec<String>§seqs: Vec<String>Implementations§
Source§impl SerContext
impl SerContext
pub fn new() -> Self
pub fn encode_rtw(&mut self, word: &NamedStdRuntimeWord) -> SerWord
pub fn intern_bis(&mut self, word: &str) -> u16
pub fn intern_seq(&mut self, word: &str) -> u16
Auto Trait Implementations§
impl Freeze for SerContext
impl RefUnwindSafe for SerContext
impl Send for SerContext
impl Sync for SerContext
impl Unpin for SerContext
impl UnwindSafe for SerContext
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