pub struct CharRange {
pub start: u32,
pub end: u32,
}Expand description
A compact char range: all code points in [start, end] (inclusive).
Used to describe Unicode blocks or script ranges.
Fields§
§start: u32First code point in the range.
end: u32Last code point in the range (inclusive).
Implementations§
Trait Implementations§
impl Copy for CharRange
impl Eq for CharRange
impl StructuralPartialEq for CharRange
Auto Trait Implementations§
impl Freeze for CharRange
impl RefUnwindSafe for CharRange
impl Send for CharRange
impl Sync for CharRange
impl Unpin for CharRange
impl UnsafeUnpin for CharRange
impl UnwindSafe for CharRange
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