pub struct UnquotedIdentifierEscape<'a>(pub &'a str);Expand description
Removes all characters from identifier that are not allowed if unquoted.
Allowed characters are: 0-9, a-z, A-Z, $, _, \u{0080} - \u{FFFF}.
NOTE: This does not change identifiers such as “int”, which are not allowed to be unquoted.
Tuple Fields§
§0: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UnquotedIdentifierEscape<'a>
impl<'a> RefUnwindSafe for UnquotedIdentifierEscape<'a>
impl<'a> Send for UnquotedIdentifierEscape<'a>
impl<'a> Sync for UnquotedIdentifierEscape<'a>
impl<'a> Unpin for UnquotedIdentifierEscape<'a>
impl<'a> UnwindSafe for UnquotedIdentifierEscape<'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