Struct icu::segmenter::provider::RuleBreakStateTable
source · pub struct RuleBreakStateTable<'data>(pub ZeroVec<'data, i8>);
Expand description
Break state table for rule-based breaking.
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Tuple Fields§
§0: ZeroVec<'data, i8>
Trait Implementations§
source§impl<'data> Clone for RuleBreakStateTable<'data>
impl<'data> Clone for RuleBreakStateTable<'data>
source§fn clone(&self) -> RuleBreakStateTable<'data>
fn clone(&self) -> RuleBreakStateTable<'data>
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<'data> Debug for RuleBreakStateTable<'data>
impl<'data> Debug for RuleBreakStateTable<'data>
source§impl<'de, 'data> Deserialize<'de> for RuleBreakStateTable<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for RuleBreakStateTable<'data>where
'de: 'data,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RuleBreakStateTable<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RuleBreakStateTable<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'data> PartialEq for RuleBreakStateTable<'data>
impl<'data> PartialEq for RuleBreakStateTable<'data>
source§fn eq(&self, other: &RuleBreakStateTable<'data>) -> bool
fn eq(&self, other: &RuleBreakStateTable<'data>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Yokeable<'a> for RuleBreakStateTable<'static>
impl<'a> Yokeable<'a> for RuleBreakStateTable<'static>
§type Output = RuleBreakStateTable<'a>
type Output = RuleBreakStateTable<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
source§fn transform_owned(
self
) -> <RuleBreakStateTable<'static> as Yokeable<'a>>::Output
fn transform_owned( self ) -> <RuleBreakStateTable<'static> as Yokeable<'a>>::Output
source§unsafe fn make(
this: <RuleBreakStateTable<'static> as Yokeable<'a>>::Output
) -> RuleBreakStateTable<'static>
unsafe fn make( this: <RuleBreakStateTable<'static> as Yokeable<'a>>::Output ) -> RuleBreakStateTable<'static>
This method can be used to cast away
Self<'a>
’s lifetime. Read moresource§fn transform_mut<F>(&'a mut self, f: F)
fn transform_mut<F>(&'a mut self, f: F)
This method must cast
self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read moresource§impl<'zf, 'zf_inner> ZeroFrom<'zf, RuleBreakStateTable<'zf_inner>> for RuleBreakStateTable<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, RuleBreakStateTable<'zf_inner>> for RuleBreakStateTable<'zf>
source§fn zero_from(
this: &'zf RuleBreakStateTable<'zf_inner>
) -> RuleBreakStateTable<'zf>
fn zero_from( this: &'zf RuleBreakStateTable<'zf_inner> ) -> RuleBreakStateTable<'zf>
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for RuleBreakStateTable<'data>
Auto Trait Implementations§
impl<'data> RefUnwindSafe for RuleBreakStateTable<'data>
impl<'data> Send for RuleBreakStateTable<'data>
impl<'data> Sync for RuleBreakStateTable<'data>
impl<'data> Unpin for RuleBreakStateTable<'data>
impl<'data> UnwindSafe for RuleBreakStateTable<'data>
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