Struct icu_segmenter::word::WordTypeULE
source · #[repr(transparent)]pub struct WordTypeULE(u8);
Expand description
ULE
type for WordType
Tuple Fields§
§0: u8
Trait Implementations§
source§impl Clone for WordTypeULE
impl Clone for WordTypeULE
source§fn clone(&self) -> WordTypeULE
fn clone(&self) -> WordTypeULE
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 Ord for WordTypeULE
impl Ord for WordTypeULE
source§fn cmp(&self, other: &WordTypeULE) -> Ordering
fn cmp(&self, other: &WordTypeULE) -> 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 WordTypeULE
impl PartialEq for WordTypeULE
source§impl PartialOrd for WordTypeULE
impl PartialOrd for WordTypeULE
source§impl ULE for WordTypeULE
impl ULE for WordTypeULE
source§fn validate_byte_slice(bytes: &[u8]) -> Result<(), ZeroVecError>
fn validate_byte_slice(bytes: &[u8]) -> Result<(), ZeroVecError>
Validates a byte slice,
&[u8]
. Read moresource§fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], ZeroVecError>
fn parse_byte_slice(bytes: &[u8]) -> Result<&[Self], ZeroVecError>
source§unsafe fn from_byte_slice_unchecked(bytes: &[u8]) -> &[Self]
unsafe fn from_byte_slice_unchecked(bytes: &[u8]) -> &[Self]
Takes a byte slice,
&[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_byte_slice()
with
success. Read moreimpl Copy for WordTypeULE
impl Eq for WordTypeULE
impl StructuralPartialEq for WordTypeULE
Auto Trait Implementations§
impl Freeze for WordTypeULE
impl RefUnwindSafe for WordTypeULE
impl Send for WordTypeULE
impl Sync for WordTypeULE
impl Unpin for WordTypeULE
impl UnwindSafe for WordTypeULE
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)