pub enum MarkupScanError {
UnclosedBrace(usize),
UnclosedBracket(usize),
}Expand description
Errors returned by scan_text_segments.
Variants§
UnclosedBrace(usize)
An unclosed { at the given byte offset.
UnclosedBracket(usize)
An unclosed [ at the given byte offset.
Trait Implementations§
Source§impl Debug for MarkupScanError
impl Debug for MarkupScanError
Source§impl PartialEq for MarkupScanError
impl PartialEq for MarkupScanError
impl Eq for MarkupScanError
impl StructuralPartialEq for MarkupScanError
Auto Trait Implementations§
impl Freeze for MarkupScanError
impl RefUnwindSafe for MarkupScanError
impl Send for MarkupScanError
impl Sync for MarkupScanError
impl Unpin for MarkupScanError
impl UnsafeUnpin for MarkupScanError
impl UnwindSafe for MarkupScanError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.