Enum forth3::input::StrLiteralError
source · pub enum StrLiteralError {
NotAStr,
Empty,
Unterminated,
}
Expand description
Errors returned by WordStrBuf::advance_str
indicating that an invalid
string literal was found.
Variants§
NotAStr
The current word is not the beginning of a string literal (."
).
Empty
The ."
was not followed by anything.
Unterminated
The string literal was not terminated by a "
.
Trait Implementations§
source§impl Clone for StrLiteralError
impl Clone for StrLiteralError
source§fn clone(&self) -> StrLiteralError
fn clone(&self) -> StrLiteralError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StrLiteralError
impl Debug for StrLiteralError
source§impl PartialEq for StrLiteralError
impl PartialEq for StrLiteralError
impl Copy for StrLiteralError
impl Eq for StrLiteralError
impl StructuralPartialEq for StrLiteralError
Auto Trait Implementations§
impl Freeze for StrLiteralError
impl RefUnwindSafe for StrLiteralError
impl Send for StrLiteralError
impl Sync for StrLiteralError
impl Unpin for StrLiteralError
impl UnwindSafe for StrLiteralError
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)