Struct icu_list::provider::SpecialCasePattern
source ยท pub struct SpecialCasePattern<'data> {
pub condition: SerdeDFA<'data>,
pub pattern: ListJoinerPattern<'data>,
}
Expand description
The special case of a ConditionalListJoinerPattern
๐ง 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.
Fieldsยง
ยงcondition: SerdeDFA<'data>
The condition on the following element
pattern: ListJoinerPattern<'data>
The pattern if the condition matches
Trait Implementationsยง
sourceยงimpl<'data> Clone for SpecialCasePattern<'data>
impl<'data> Clone for SpecialCasePattern<'data>
sourceยงfn clone(&self) -> SpecialCasePattern<'data>
fn clone(&self) -> SpecialCasePattern<'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 SpecialCasePattern<'data>
impl<'data> Debug for SpecialCasePattern<'data>
sourceยงimpl<'data> PartialEq for SpecialCasePattern<'data>
impl<'data> PartialEq for SpecialCasePattern<'data>
sourceยงfn eq(&self, other: &SpecialCasePattern<'data>) -> bool
fn eq(&self, other: &SpecialCasePattern<'data>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.sourceยงimpl<'a> Yokeable<'a> for SpecialCasePattern<'static>
impl<'a> Yokeable<'a> for SpecialCasePattern<'static>
sourceยงtype Output = SpecialCasePattern<'a>
type Output = SpecialCasePattern<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
sourceยงfn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
sourceยงimpl<'zf, 'zf_inner> ZeroFrom<'zf, SpecialCasePattern<'zf_inner>> for SpecialCasePattern<'zf>
impl<'zf, 'zf_inner> ZeroFrom<'zf, SpecialCasePattern<'zf_inner>> for SpecialCasePattern<'zf>
sourceยงfn zero_from(this: &'zf SpecialCasePattern<'zf_inner>) -> Self
fn zero_from(this: &'zf SpecialCasePattern<'zf_inner>) -> Self
Clone the other
C
into a struct that may retain references into C
.impl<'data> StructuralPartialEq for SpecialCasePattern<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for SpecialCasePattern<'data>
impl<'data> RefUnwindSafe for SpecialCasePattern<'data>
impl<'data> Send for SpecialCasePattern<'data>
impl<'data> Sync for SpecialCasePattern<'data>
impl<'data> Unpin for SpecialCasePattern<'data>
impl<'data> UnwindSafe for SpecialCasePattern<'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
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
)