pub enum PresentationVariant {
Show 23 variants Default, LatinDecimals, ArabicDecimals, MirrorPairs, MirrorFormulae, Isolated, Initial, Medial, Final, DecimalFullStop, DecimalComma, VowelAboveOrBelow, VowelAfterPreceding, ContextualShapeArabicScriptWithLamAleph, ContextualShapeArabicScript, NoMirroring, NoVowels, SlantFollowsStringDirection, NoContextualShapeArabicScript, NoContextualShapeArabicScriptExceptDigits, DeviceDependentDecimalDigits, PersistCharacterForm, DesistCharacterForm,
}
Expand description

Valid parameter values to the function SAPV.

Variants§

§

Default

Default presentation (implementation-defined); cancels the effect of any preceding occurrence of SAPV in the data stream.

§

LatinDecimals

The decimal digits are presented by means of the graphic symbols used in the Latin script.

§

ArabicDecimals

The decimal digits are presented by means of the graphic symbols used in the Arabic script, i.e. the Hindi symbols.

§

MirrorPairs

When the direction of the character path is right-to-left, each of the graphic characters in the graphic character set(s) in use which is one of a left/right handed pair (parentheses, square brackets, curly brackets, greater-than/less-than signs, etc.) is presented as “mirrored”, i.e. as the other member of the pair. For example, the coded graphic character given the name LEFT PARENTHESIS is presented as RIGHT PARENTHESIS, and vice versa.

§

MirrorFormulae

When the direction of the character path is right-to-left, all graphic characters which represent operators and delimiters in mathematical formulae and which are not symmetrical about a vertical axis are presented as mirrored about that vertical axis.

§

Isolated

The following graphic character is presented in its isolated form.

§

Initial

The following graphic character is presented in its initial form.

§

Medial

The following graphic character is presented in its medial form.

§

Final

The following graphic character is presented in its final form.

§

DecimalFullStop

Where the bit combination 02/14 is intended to represent a decimal mark in a decimal number it shall be represented by means of the graphic symbol FULL STOP.

§

DecimalComma

Where the bit combination 02/14 is intended to represent a decimal mark in a decimal number it shall be represented by means of the graphic symbol COMMA.

§

VowelAboveOrBelow

Vowels are presented above or below the preceding character.

§

VowelAfterPreceding

Vowels are presented after the preceding character.

§

ContextualShapeArabicScriptWithLamAleph

Contextual shape determination of Arabic scripts, including the LAM-ALEPH ligature but excluding all other Arabic ligatures.

§

ContextualShapeArabicScript

Contextual shape determination of Arabic scripts, excluding all Arabic ligatures.

§

NoMirroring

§

NoVowels

Vowels are not presented.

§

SlantFollowsStringDirection

When the string direction is right-to-left, the italicized characters are slanted to the left, when the string direction is left-to-right, the italicized characters are slanted to the right.

§

NoContextualShapeArabicScript

Contextual shape determination of Arabic scripts is not used, the graphic characters - including the digits - are presented in the form they are stored (pass-through).

§

NoContextualShapeArabicScriptExceptDigits

Contextual shape determination of Arabic scripts i not used, the graphic characters - excluding the digits - are presented in the form they are stored (pass-through).

§

DeviceDependentDecimalDigits

The graphic symbols used to present the decimal digits are device dependent.

§

PersistCharacterForm

Establishes the effect of parameter values PresentationVariant::Isolated, PresentationVariant::Initial, PresentationVariant::Medial, and PresentationVariant::Final for the following graphic characters until cancelled.

§

DesistCharacterForm

Cancels the effect of parameter value PresentationVariant::PersistCharacterForm, i.e. re-establishes the effect of parameter values PresentationVariant::Isolated, PresentationVariant::Initial, PresentationVariant::Medial, and PresentationVariant::Final for the next single graphic character only.

Trait Implementations§

source§

impl Clone for PresentationVariant

source§

fn clone(&self) -> PresentationVariant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for PresentationVariant

source§

fn default() -> PresentationVariant

Returns the “default value” for a type. Read more
source§

impl PartialEq<PresentationVariant> for PresentationVariant

source§

fn eq(&self, other: &PresentationVariant) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for PresentationVariant

source§

impl Eq for PresentationVariant

source§

impl StructuralEq for PresentationVariant

source§

impl StructuralPartialEq for PresentationVariant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.