pub struct BlockBitmaps {
pub lt: u64,
pub gt: u64,
pub amp: u64,
pub quot: u64,
pub apos: u64,
pub eq: u64,
pub slash: u64,
pub in_string: u64,
}Expand description
Per-block bitmasks for each HTML delimiter type.
Bit i of a mask is set if the byte at position i within the block
matches that delimiter. After quote-aware masking, non-structural
positions (inside quoted strings) are cleared from the relevant masks.
Fields§
§lt: u64< positions.
gt: u64> positions.
amp: u64& positions.
quot: u64" positions.
apos: u64' positions.
eq: u64= positions.
slash: u64/ positions.
in_string: u64Positions inside quoted strings (both " and ').
Set bits indicate bytes that are not structural.
Trait Implementations§
Source§impl Clone for BlockBitmaps
impl Clone for BlockBitmaps
Source§fn clone(&self) -> BlockBitmaps
fn clone(&self) -> BlockBitmaps
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 BlockBitmaps
impl Debug for BlockBitmaps
Source§impl Default for BlockBitmaps
impl Default for BlockBitmaps
Source§fn default() -> BlockBitmaps
fn default() -> BlockBitmaps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockBitmaps
impl RefUnwindSafe for BlockBitmaps
impl Send for BlockBitmaps
impl Sync for BlockBitmaps
impl Unpin for BlockBitmaps
impl UnsafeUnpin for BlockBitmaps
impl UnwindSafe for BlockBitmaps
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