Struct icu::properties::props::BidiMirroringGlyph
source · #[non_exhaustive]pub struct BidiMirroringGlyph {
pub mirroring_glyph: Option<char>,
pub mirrored: bool,
pub paired_bracket_type: BidiPairedBracketType,
}
Expand description
This is a bitpacked combination of the Bidi_Mirroring_Glyph
,
Bidi_Mirrored
, and Bidi_Paired_Bracket_Type
properties.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mirroring_glyph: Option<char>
The mirroring glyph
mirrored: bool
Whether the glyph is mirrored
paired_bracket_type: BidiPairedBracketType
The paired bracket type
Trait Implementations§
source§impl AsULE for BidiMirroringGlyph
impl AsULE for BidiMirroringGlyph
source§type ULE = RawBytesULE<3>
type ULE = RawBytesULE<3>
The ULE type corresponding to
Self
. Read moresource§fn to_unaligned(self) -> <BidiMirroringGlyph as AsULE>::ULE
fn to_unaligned(self) -> <BidiMirroringGlyph as AsULE>::ULE
source§fn from_unaligned(
unaligned: <BidiMirroringGlyph as AsULE>::ULE,
) -> BidiMirroringGlyph
fn from_unaligned( unaligned: <BidiMirroringGlyph as AsULE>::ULE, ) -> BidiMirroringGlyph
source§impl Bake for BidiMirroringGlyph
impl Bake for BidiMirroringGlyph
source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
source§impl BakeSize for BidiMirroringGlyph
impl BakeSize for BidiMirroringGlyph
source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
source§impl Clone for BidiMirroringGlyph
impl Clone for BidiMirroringGlyph
source§fn clone(&self) -> BidiMirroringGlyph
fn clone(&self) -> BidiMirroringGlyph
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 BidiMirroringGlyph
impl Debug for BidiMirroringGlyph
source§impl Default for BidiMirroringGlyph
impl Default for BidiMirroringGlyph
source§fn default() -> BidiMirroringGlyph
fn default() -> BidiMirroringGlyph
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BidiMirroringGlyph
impl<'de> Deserialize<'de> for BidiMirroringGlyph
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BidiMirroringGlyph, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BidiMirroringGlyph, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for BidiMirroringGlyph
impl PartialEq for BidiMirroringGlyph
source§impl Serialize for BidiMirroringGlyph
impl Serialize for BidiMirroringGlyph
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 BidiMirroringGlyph
impl TrieValue for BidiMirroringGlyph
source§type TryFromU32Error = u32
type TryFromU32Error = u32
Last-resort fallback value to return if we cannot read data from the trie. Read more
source§fn try_from_u32(
i: u32,
) -> Result<BidiMirroringGlyph, <BidiMirroringGlyph as TrieValue>::TryFromU32Error>
fn try_from_u32( i: u32, ) -> Result<BidiMirroringGlyph, <BidiMirroringGlyph 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 BidiMirroringGlyph
impl Eq for BidiMirroringGlyph
impl StructuralPartialEq for BidiMirroringGlyph
Auto Trait Implementations§
impl Freeze for BidiMirroringGlyph
impl RefUnwindSafe for BidiMirroringGlyph
impl Send for BidiMirroringGlyph
impl Sync for BidiMirroringGlyph
impl Unpin for BidiMirroringGlyph
impl UnwindSafe for BidiMirroringGlyph
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