Struct forth3::input::WordStrBuf
source · pub struct WordStrBuf {
start: *mut u8,
cur: *mut u8,
end: *mut u8,
holding: Holding,
}
Fields§
§start: *mut u8
§cur: *mut u8
§end: *mut u8
§holding: Holding
Implementations§
source§impl WordStrBuf
impl WordStrBuf
pub fn new(bottom: *mut u8, size: usize) -> Self
fn capacity(&self) -> usize
pub fn fill(&mut self, input: &str) -> Result<(), FillError>
fn next_nonwhitespace(&mut self) -> Option<*mut u8>
pub fn advance(&mut self)
pub fn advance_str(&mut self) -> Result<(), StrLiteralError>
pub fn cur_str_literal(&self) -> Option<&str>
pub fn cur_word(&self) -> Option<&str>
Auto Trait Implementations§
impl Freeze for WordStrBuf
impl RefUnwindSafe for WordStrBuf
impl !Send for WordStrBuf
impl !Sync for WordStrBuf
impl Unpin for WordStrBuf
impl UnwindSafe for WordStrBuf
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