[][src]Struct harfbuzz_sys::hb_segment_properties_t

#[repr(C)]
pub struct hb_segment_properties_t {
    pub direction: hb_direction_t,
    pub script: hb_script_t,
    pub language: hb_language_t,
    pub reserved1: *mut c_void,
    pub reserved2: *mut c_void,
}

hb_segment_properties_t: @direction: the hb_direction_t of the buffer, see hb_buffer_set_direction(). @script: the hb_script_t of the buffer, see hb_buffer_set_script(). @language: the hb_language_t of the buffer, see hb_buffer_set_language().

The structure that holds various text properties of an hb_buffer_t. Can be set and retrieved using hb_buffer_set_segment_properties() and hb_buffer_get_segment_properties(), respectively.

Fields

direction: hb_direction_tscript: hb_script_tlanguage: hb_language_treserved1: *mut c_voidreserved2: *mut c_void

Trait Implementations

impl Clone for hb_segment_properties_t[src]

impl Copy for hb_segment_properties_t[src]

impl Debug for hb_segment_properties_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.