pub struct UnknownTagError {
pub tag: String,
pub kind: UnknownTagKind,
pub start: usize,
pub end: usize,
}Expand description
An error representing an unknown tag in the input.
Fields§
§tag: StringThe tag name that was not found in styles.
kind: UnknownTagKindThe kind of tag (open or close).
start: usizeByte offset of the opening [ in the input.
end: usizeByte offset after the closing ] in the input.
Trait Implementations§
Source§impl Clone for UnknownTagError
impl Clone for UnknownTagError
Source§fn clone(&self) -> UnknownTagError
fn clone(&self) -> UnknownTagError
Returns a duplicate 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 UnknownTagError
impl Debug for UnknownTagError
Source§impl Display for UnknownTagError
impl Display for UnknownTagError
Source§impl Error for UnknownTagError
impl Error for UnknownTagError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for UnknownTagError
impl PartialEq for UnknownTagError
impl Eq for UnknownTagError
impl StructuralPartialEq for UnknownTagError
Auto Trait Implementations§
impl Freeze for UnknownTagError
impl RefUnwindSafe for UnknownTagError
impl Send for UnknownTagError
impl Sync for UnknownTagError
impl Unpin for UnknownTagError
impl UnwindSafe for UnknownTagError
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