Struct icu::properties::props::JoiningType
source · #[repr(transparent)]pub struct JoiningType(/* private fields */);
Expand description
Enumerated property Joining_Type. See Section 9.2, Arabic Cursive Joining in The Unicode Standard for the summary of each property value.
The numeric value is compatible with UJoiningType
in ICU4C.
Implementations§
source§impl JoiningType
impl JoiningType
pub const NonJoining: JoiningType = _
pub const JoinCausing: JoiningType = _
pub const DualJoining: JoiningType = _
pub const LeftJoining: JoiningType = _
pub const RightJoining: JoiningType = _
pub const Transparent: JoiningType = _
Trait Implementations§
source§impl AsULE for JoiningType
impl AsULE for JoiningType
source§fn to_unaligned(self) -> <JoiningType as AsULE>::ULE
fn to_unaligned(self) -> <JoiningType as AsULE>::ULE
source§fn from_unaligned(unaligned: <JoiningType as AsULE>::ULE) -> JoiningType
fn from_unaligned(unaligned: <JoiningType as AsULE>::ULE) -> JoiningType
source§impl Bake for JoiningType
impl Bake for JoiningType
source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
source§impl BakeSize for JoiningType
impl BakeSize for JoiningType
source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
source§impl Clone for JoiningType
impl Clone for JoiningType
source§fn clone(&self) -> JoiningType
fn clone(&self) -> JoiningType
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 Debug for JoiningType
impl Debug for JoiningType
source§impl<'de> Deserialize<'de> for JoiningType
impl<'de> Deserialize<'de> for JoiningType
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JoiningType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JoiningType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EnumeratedProperty for JoiningType
impl EnumeratedProperty for JoiningType
source§impl Hash for JoiningType
impl Hash for JoiningType
source§impl Ord for JoiningType
impl Ord for JoiningType
source§fn cmp(&self, other: &JoiningType) -> Ordering
fn cmp(&self, other: &JoiningType) -> 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 JoiningType
impl PartialEq for JoiningType
source§impl PartialOrd for JoiningType
impl PartialOrd for JoiningType
source§impl Serialize for JoiningType
impl Serialize for JoiningType
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TrieValue for JoiningType
impl TrieValue for JoiningType
source§type TryFromU32Error = TryFromIntError
type TryFromU32Error = TryFromIntError
Last-resort fallback value to return if we cannot read data from the trie. Read more
source§fn try_from_u32(
i: u32,
) -> Result<JoiningType, <JoiningType as TrieValue>::TryFromU32Error>
fn try_from_u32( i: u32, ) -> Result<JoiningType, <JoiningType as TrieValue>::TryFromU32Error>
A parsing function that is primarily motivated by deserialization contexts.
When the serialization type width is smaller than 32 bits, then it is expected
that the call site will widen the value to a
u32
first.impl Copy for JoiningType
impl Eq for JoiningType
impl NamedEnumeratedProperty for JoiningType
impl ParseableEnumeratedProperty for JoiningType
impl StructuralPartialEq for JoiningType
Auto Trait Implementations§
impl Freeze for JoiningType
impl RefUnwindSafe for JoiningType
impl Send for JoiningType
impl Sync for JoiningType
impl Unpin for JoiningType
impl UnwindSafe for JoiningType
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
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more