[][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 Copy for hb_segment_properties_t[src]

impl Clone for hb_segment_properties_t[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for hb_segment_properties_t[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.