pub struct Token {
pub type: TokenType,
pub raw: String,
pub html: String,
}
Expand description
A token is a representation of fully parsed data.
Fields§
§type: TokenType
The type of the token.
raw: String
The raw CRML string of the token.
html: String
The HTML string of the token.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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