pub struct CodepointRange {
pub start: Codepoint,
pub end: Codepoint,
}
Expand description
A range of Unicode codepoints. The range is inclusive; both ends of the range are guaranteed to be valid codepoints.
Fields§
§start: Codepoint
The start of the codepoint range.
end: Codepoint
The end of the codepoint range.
Trait Implementations§
Source§impl Clone for CodepointRange
impl Clone for CodepointRange
Source§fn clone(&self) -> CodepointRange
fn clone(&self) -> CodepointRange
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 CodepointRange
impl Debug for CodepointRange
Source§impl Default for CodepointRange
impl Default for CodepointRange
Source§fn default() -> CodepointRange
fn default() -> CodepointRange
Returns the “default value” for a type. Read more
Source§impl Display for CodepointRange
impl Display for CodepointRange
Source§impl FromStr for CodepointRange
impl FromStr for CodepointRange
Source§impl Hash for CodepointRange
impl Hash for CodepointRange
Source§impl IntoIterator for CodepointRange
impl IntoIterator for CodepointRange
Source§impl Ord for CodepointRange
impl Ord for CodepointRange
Source§fn cmp(&self, other: &CodepointRange) -> Ordering
fn cmp(&self, other: &CodepointRange) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CodepointRange
impl PartialEq for CodepointRange
Source§impl PartialOrd for CodepointRange
impl PartialOrd for CodepointRange
impl Copy for CodepointRange
impl Eq for CodepointRange
impl StructuralPartialEq for CodepointRange
Auto Trait Implementations§
impl Freeze for CodepointRange
impl RefUnwindSafe for CodepointRange
impl Send for CodepointRange
impl Sync for CodepointRange
impl Unpin for CodepointRange
impl UnwindSafe for CodepointRange
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