pub struct UnicodeIdent;
Expand description
An Invariant
for unicode identifiers according to
Unicode Standard Annex #31.
§Invariants
- The string is nonempty.
- The first character is XID_Start.
- Any following characters are XID_Continue.
Trait Implementations§
source§impl Clone for UnicodeIdent
impl Clone for UnicodeIdent
source§fn clone(&self) -> UnicodeIdent
fn clone(&self) -> UnicodeIdent
Returns a copy 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 UnicodeIdent
impl Debug for UnicodeIdent
Auto Trait Implementations§
impl Freeze for UnicodeIdent
impl RefUnwindSafe for UnicodeIdent
impl Send for UnicodeIdent
impl Sync for UnicodeIdent
impl Unpin for UnicodeIdent
impl UnwindSafe for UnicodeIdent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)