Enum icu::properties::props::BidiPairedBracketType
source · #[non_exhaustive]pub enum BidiPairedBracketType {
Open,
Close,
None,
}
Expand description
The enum represents Bidi_Paired_Bracket_Type.
It does not implement EnumeratedProperty
, instead it can be obtained
through the bitpacked BidiMirroringGlyph
property.
If you have a use case this property without also needing the BidiMirroringGlyph
property, and need to optimize data size, please file an issue.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Open
Represents Bidi_Paired_Bracket_Type=Open.
Close
Represents Bidi_Paired_Bracket_Type=Close.
None
Represents Bidi_Paired_Bracket_Type=None.
Trait Implementations§
source§impl Bake for BidiPairedBracketType
impl Bake for BidiPairedBracketType
source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
source§impl BakeSize for BidiPairedBracketType
impl BakeSize for BidiPairedBracketType
source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
source§impl Clone for BidiPairedBracketType
impl Clone for BidiPairedBracketType
source§fn clone(&self) -> BidiPairedBracketType
fn clone(&self) -> BidiPairedBracketType
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 BidiPairedBracketType
impl Debug for BidiPairedBracketType
source§impl Default for BidiPairedBracketType
impl Default for BidiPairedBracketType
source§fn default() -> BidiPairedBracketType
fn default() -> BidiPairedBracketType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BidiPairedBracketType
impl<'de> Deserialize<'de> for BidiPairedBracketType
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BidiPairedBracketType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BidiPairedBracketType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for BidiPairedBracketType
impl PartialEq for BidiPairedBracketType
source§impl Serialize for BidiPairedBracketType
impl Serialize for BidiPairedBracketType
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
impl Copy for BidiPairedBracketType
impl Eq for BidiPairedBracketType
impl StructuralPartialEq for BidiPairedBracketType
Auto Trait Implementations§
impl Freeze for BidiPairedBracketType
impl RefUnwindSafe for BidiPairedBracketType
impl Send for BidiPairedBracketType
impl Sync for BidiPairedBracketType
impl Unpin for BidiPairedBracketType
impl UnwindSafe for BidiPairedBracketType
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