Struct Range
pub(in ::unicode::unicode_data::conversions) struct Range { pub(in ::unicode::unicode_data::conversions) start: u16, pub(in ::unicode::unicode_data::conversions) len: u8, pub(in ::unicode::unicode_data::conversions) parity: bool }
Fields
start: u16len: u8parity: bool
Implementations
impl Range
const fn new(range: RangeInclusive<u16>, parity: bool) -> Selfconst fn singleton(start: u16) -> Selfconst fn step_by_1(range: RangeInclusive<u16>) -> Selfconst fn step_by_2(range: RangeInclusive<u16>) -> Selfconst fn start(&self) -> u16const fn end(&self) -> u16
Trait Implementations
impl Clone for Range
fn clone(&self) -> Range
impl Copy for Range
impl TrivialClone for Range
Auto Trait Implementations
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin for Range
impl UnwindSafe for Range
Blanket Implementations
impl<T> Any for Range
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Range
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Range
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Range
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Range
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for Range
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Range
impl<T, U> Into<U> for Range
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Range
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Range
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>