Struct PresentationVariant

Source
pub struct PresentationVariant { /* private fields */ }

Implementations§

Source§

impl PresentationVariant

Source

pub fn new() -> Self

Source

pub fn default(&mut self) -> &mut Self

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

Source

pub fn latin_decimal(&mut self) -> &mut Self

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

Source

pub fn arabic_decimal(&mut self) -> &mut Self

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

Source

pub fn mirror_horizontal(&mut self) -> &mut Self

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.

Source

pub fn mirror_vertical(&mut self) -> &mut Self

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.

Source

pub fn character_isolate(&mut self) -> &mut Self

The following graphic character is presented in its isolated form.

Source

pub fn character_initial(&mut self) -> &mut Self

The following graphic character is presented in its initial form.

Source

pub fn character_medial(&mut self) -> &mut Self

The following graphic character is presented in its medial form.

Source

pub fn character_final(&mut self) -> &mut Self

The following graphic character is presented in its final form.

Source

pub fn decimal_stop(&mut self) -> &mut Self

Where the bit combination 0x2E is intended to represent a decimal mark in a decimal number it shall be presented by means of the graphic symbol FULL STOP.

Source

pub fn decimal_comma(&mut self) -> &mut Self

Where the bit combination 0x2E is intended to represent a decimal mark in a decimal number it shall be presented by means of the graphic symbol COMMA.

Source

pub fn vowel_above_or_below(&mut self) -> &mut Self

Vowels are presented above or below the preceding character.

Source

pub fn vowel_after(&mut self) -> &mut Self

Vowels are presented after the preceding character.

Source

pub fn arabic_ligature_aleph(&mut self) -> &mut Self

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

Source

pub fn arabic_ligature_none(&mut self) -> &mut Self

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

Source

pub fn no_mirror(&mut self) -> &mut Self

Cancels the effect of parameter values Self::mirror_horizontal and Self::mirror_vertical.

Source

pub fn no_vowel(&mut self) -> &mut Self

Vowels are not presented.

Source

pub fn italic_direction(&mut self) -> &mut Self

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.

Source

pub fn arabic_no_context_with_digit(&mut self) -> &mut Self

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).

Source

pub fn arabic_no_context(&mut self) -> &mut Self

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

Source

pub fn device_digit(&mut self) -> &mut Self

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

Source

pub fn character_establish(&mut self) -> &mut Self

Establishes the effect of parameter values Self::character_isolate, Self::character_initial, Self::character_medial, and Self::character_final for the following graphic characters until cancelled.

Source

pub fn character_cancel(&mut self) -> &mut Self

Cancels the effect of parameter value Self::character_establish, i.e. re-establishes the effect of parameter values Self::character_isolate, Self::character_initial, Self::character_medial, and Self::character_final for the next single graphic character only.

Source

pub fn get(&self) -> ControlSequence

Trait Implementations§

Source§

impl Clone for PresentationVariant

Source§

fn clone(&self) -> PresentationVariant

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Display for PresentationVariant

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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 T
where T: Clone,

Source§

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.