#[non_exhaustive]pub enum BidiType {
Show 23 variants
L,
Lre,
Lro,
R,
Al,
Rle,
Rlo,
Pdf,
En,
Es,
Et,
An,
Cs,
Nsm,
Bn,
B,
S,
Ws,
On,
Lri,
Rli,
Fsi,
Pdi,
}
👎Deprecated: Since 1.44
Expand description
BidiType
represents the bidirectional character
type of a Unicode character.
The values in this enumeration are specified by the Unicode bidirectional algorithm.
§Deprecated since 1.44
Use fribidi for this information
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.
L
👎Deprecated: Since 1.44
Left-to-Right
Lre
👎Deprecated: Since 1.44
Left-to-Right Embedding
Lro
👎Deprecated: Since 1.44
Left-to-Right Override
R
👎Deprecated: Since 1.44
Right-to-Left
Al
👎Deprecated: Since 1.44
Right-to-Left Arabic
Rle
👎Deprecated: Since 1.44
Right-to-Left Embedding
Rlo
👎Deprecated: Since 1.44
Right-to-Left Override
👎Deprecated: Since 1.44
Pop Directional Format
En
👎Deprecated: Since 1.44
European Number
Es
👎Deprecated: Since 1.44
European Number Separator
Et
👎Deprecated: Since 1.44
European Number Terminator
An
👎Deprecated: Since 1.44
Arabic Number
Cs
👎Deprecated: Since 1.44
Common Number Separator
Nsm
👎Deprecated: Since 1.44
Nonspacing Mark
Bn
👎Deprecated: Since 1.44
Boundary Neutral
B
👎Deprecated: Since 1.44
Paragraph Separator
S
👎Deprecated: Since 1.44
Segment Separator
Ws
👎Deprecated: Since 1.44
Whitespace
On
👎Deprecated: Since 1.44
Other Neutrals
Lri
👎Deprecated: Since 1.44
Left-to-Right isolate. Since 1.48.6
Rli
👎Deprecated: Since 1.44
Right-to-Left isolate. Since 1.48.6
Fsi
👎Deprecated: Since 1.44
First strong isolate. Since 1.48.6
Pdi
👎Deprecated: Since 1.44
Pop directional isolate. Since 1.48.6
Implementations§
Trait Implementations§
Source§impl<'a> FromValue<'a> for BidiType
impl<'a> FromValue<'a> for BidiType
Source§type Checker = GenericValueTypeChecker<BidiType>
type Checker = GenericValueTypeChecker<BidiType>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl HasParamSpec for BidiType
impl HasParamSpec for BidiType
Source§impl Ord for BidiType
impl Ord for BidiType
Source§impl PartialOrd for BidiType
impl PartialOrd for BidiType
Source§impl StaticType for BidiType
impl StaticType for BidiType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for BidiType
impl Eq for BidiType
impl StructuralPartialEq for BidiType
Auto Trait Implementations§
impl Freeze for BidiType
impl RefUnwindSafe for BidiType
impl Send for BidiType
impl Sync for BidiType
impl Unpin for BidiType
impl UnwindSafe for BidiType
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§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.