pub struct UnicodeRange<'s> {
pub prefix: char,
pub start: u32,
pub start_raw: &'s str,
pub end: u32,
pub end_raw: Option<&'s str>,
pub span: Span,
}Fields§
§prefix: char§start: u32§start_raw: &'s str§end: u32§end_raw: Option<&'s str>§span: SpanTrait Implementations§
Source§impl<'s> Clone for UnicodeRange<'s>
impl<'s> Clone for UnicodeRange<'s>
Source§fn clone(&self) -> UnicodeRange<'s>
fn clone(&self) -> UnicodeRange<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for UnicodeRange<'s>
impl<'s> Debug for UnicodeRange<'s>
Source§impl<'s> PartialEq for UnicodeRange<'s>
impl<'s> PartialEq for UnicodeRange<'s>
Source§fn eq(&self, other: &UnicodeRange<'s>) -> bool
fn eq(&self, other: &UnicodeRange<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for UnicodeRange<'s>
Auto Trait Implementations§
impl<'s> Freeze for UnicodeRange<'s>
impl<'s> RefUnwindSafe for UnicodeRange<'s>
impl<'s> Send for UnicodeRange<'s>
impl<'s> Sync for UnicodeRange<'s>
impl<'s> Unpin for UnicodeRange<'s>
impl<'s> UnsafeUnpin for UnicodeRange<'s>
impl<'s> UnwindSafe for UnicodeRange<'s>
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