pub struct BadStr<'s> {
pub raw: &'s str,
}Expand description
CSS Syntax <bad-string-token>: a string terminated by a newline or EOF
instead of its quote. Not a tokenizer error in CSS — it is a preserved
token that raw component-value contexts keep verbatim.
Fields§
§raw: &'s strTrait Implementations§
Source§impl<'s> PartialEq for BadStr<'s>
impl<'s> PartialEq for BadStr<'s>
impl<'s> StructuralPartialEq for BadStr<'s>
Auto Trait Implementations§
impl<'s> Freeze for BadStr<'s>
impl<'s> RefUnwindSafe for BadStr<'s>
impl<'s> Send for BadStr<'s>
impl<'s> Sync for BadStr<'s>
impl<'s> Unpin for BadStr<'s>
impl<'s> UnsafeUnpin for BadStr<'s>
impl<'s> UnwindSafe for BadStr<'s>
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