Struct data_url::FragmentIdentifier
source · pub struct FragmentIdentifier<'a>(pub(crate) &'a str);
Expand description
The URL’s fragment identifier (after #
)
Tuple Fields§
§0: &'a str
Implementations§
source§impl<'a> FragmentIdentifier<'a>
impl<'a> FragmentIdentifier<'a>
sourcepub fn to_percent_encoded(&self) -> String
pub fn to_percent_encoded(&self) -> String
Like in a parsed URL
Auto Trait Implementations§
impl<'a> Freeze for FragmentIdentifier<'a>
impl<'a> RefUnwindSafe for FragmentIdentifier<'a>
impl<'a> Send for FragmentIdentifier<'a>
impl<'a> Sync for FragmentIdentifier<'a>
impl<'a> Unpin for FragmentIdentifier<'a>
impl<'a> UnwindSafe for FragmentIdentifier<'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