struct Buffer {Show 17 fields
a: Option<String>,
b: Option<String>,
p: Option<String>,
o: Option<String>,
q: Option<String>,
d: Option<String>,
rm: Option<String>,
text_: Option<String>,
r: Option<String>,
rd: Option<String>,
rq: Option<String>,
rdt: Option<String>,
rqt: Option<String>,
d_type: Option<String>,
sb: bool,
begins_with_bond: bool,
parenthesis_level: i32,
}Expand description
状态机缓冲区(对应 TS 的动态 buffer 对象)。
Fields§
§a: Option<String>§b: Option<String>§p: Option<String>§o: Option<String>§q: Option<String>§d: Option<String>§rm: Option<String>§text_: Option<String>§r: Option<String>§rd: Option<String>§rq: Option<String>§rdt: Option<String>§rqt: Option<String>§d_type: Option<String>§sb: bool§begins_with_bond: bool§parenthesis_level: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Buffer
impl RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl UnsafeUnpin for Buffer
impl UnwindSafe for Buffer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.