pub enum IriReserved {
Any,
Path,
Query,
Fragment,
}Expand description
Variants§
Any
Encode characters reserved in any IRI component.
Path
Encode characters reserved in a path segment.
Query
Encode characters reserved in a query.
Fragment
Encode characters reserved in a fragment.
Trait Implementations§
Source§impl Clone for IriReserved
impl Clone for IriReserved
Source§fn clone(&self) -> IriReserved
fn clone(&self) -> IriReserved
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 IriReserved
impl Debug for IriReserved
Source§impl Encoder for IriReserved
impl Encoder for IriReserved
Source§fn encode_ascii(&self, b: u8) -> Option<bool>
fn encode_ascii(&self, b: u8) -> Option<bool>
Fast-path decision for a single ASCII byte (
b < 0x80). Read moreSource§fn ascii_keep_table(&self) -> Option<&'static [u8; 128]>
fn ascii_keep_table(&self) -> Option<&'static [u8; 128]>
Optional pointer to a 128-entry ASCII keep table, where
table[b] != 0
means byte b does NOT need encoding. None means the encoder has no
byte-level table and a scalar loop is used.Source§fn ascii_keep_lo_shuf(&self) -> Option<&'static [u8; 16]>
fn ascii_keep_lo_shuf(&self) -> Option<&'static [u8; 16]>
Optional 16-byte nibble-shuffle derived from the ASCII keep table
(see [
crate::scan::build_lo_shuf]). Enables a fully vectorized keep
lookup under feature = "simd". Returning None falls back to the
prefilter SIMD variant with a scalar keep-table probe.Source§impl PartialEq for IriReserved
impl PartialEq for IriReserved
impl Copy for IriReserved
impl Eq for IriReserved
impl StructuralPartialEq for IriReserved
Auto Trait Implementations§
impl Freeze for IriReserved
impl RefUnwindSafe for IriReserved
impl Send for IriReserved
impl Sync for IriReserved
impl Unpin for IriReserved
impl UnsafeUnpin for IriReserved
impl UnwindSafe for IriReserved
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