pub struct CssParseError<'a> {
pub css_string: &'a str,
pub error: CssParseErrorInner<'a>,
pub location: (ErrorLocation, ErrorLocation),
}
Expand description
Error that can happen during the parsing of a CSS value
Fields§
§css_string: &'a str
§error: CssParseErrorInner<'a>
§location: (ErrorLocation, ErrorLocation)
Implementations§
Source§impl<'a> CssParseError<'a>
impl<'a> CssParseError<'a>
Sourcepub fn get_error_string(&self) -> &'a str
pub fn get_error_string(&self) -> &'a str
Returns the string between the (start, end) location
Trait Implementations§
Source§impl<'a> Clone for CssParseError<'a>
impl<'a> Clone for CssParseError<'a>
Source§fn clone(&self) -> CssParseError<'a>
fn clone(&self) -> CssParseError<'a>
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<'a> Debug for CssParseError<'a>
impl<'a> Debug for CssParseError<'a>
Source§impl<'a> Display for CssParseError<'a>
impl<'a> Display for CssParseError<'a>
Source§impl<'a> PartialEq for CssParseError<'a>
impl<'a> PartialEq for CssParseError<'a>
impl<'a> StructuralPartialEq for CssParseError<'a>
Auto Trait Implementations§
impl<'a> Freeze for CssParseError<'a>
impl<'a> RefUnwindSafe for CssParseError<'a>
impl<'a> Send for CssParseError<'a>
impl<'a> Sync for CssParseError<'a>
impl<'a> Unpin for CssParseError<'a>
impl<'a> UnwindSafe for CssParseError<'a>
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