Struct ShortOffsetRunHeader
#[repr(transparent)]
pub(in ::unicode::unicode_data) struct ShortOffsetRunHeader(pub(in ::unicode::unicode_data) u32);
Fields
0: u32
Implementations
impl ShortOffsetRunHeader
const fn new(start_index: usize, prefix_sum: u32) -> Selfconst fn start_index(&self) -> usizeconst fn prefix_sum(&self) -> u32
Auto Trait Implementations
impl Freeze for ShortOffsetRunHeader
impl RefUnwindSafe for ShortOffsetRunHeader
impl Send for ShortOffsetRunHeader
impl Sync for ShortOffsetRunHeader
impl Unpin for ShortOffsetRunHeader
impl UnsafeUnpin for ShortOffsetRunHeader
impl UnwindSafe for ShortOffsetRunHeader
Blanket Implementations
impl<T> Any for ShortOffsetRunHeader
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ShortOffsetRunHeader
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ShortOffsetRunHeader
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ShortOffsetRunHeader
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for ShortOffsetRunHeader
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for ShortOffsetRunHeader
impl<T, U> Into<U> for ShortOffsetRunHeader
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 ShortOffsetRunHeader
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 ShortOffsetRunHeader
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>