[−][src]Enum harfbuzz_rs::Direction
Defines the direction in which text is to be read.
Variants
Initial, unset direction.
Text is set horizontally from left to right.
Text is set horizontally from right to left.
Text is set vertically from top to bottom.
Text is set vertically from bottom to top.
Implementations
impl Direction
[src]
pub fn to_raw(self) -> hb_direction_t
[src]
Convert into raw value of type hb_direction_t
.
pub fn from_raw(dir: hb_direction_t) -> Self
[src]
Create from raw value of type hb_direction_t
.
Trait Implementations
impl Clone for Direction
[src]
impl Copy for Direction
[src]
impl Debug for Direction
[src]
impl Eq for Direction
[src]
impl Hash for Direction
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Direction> for Direction
[src]
impl StructuralEq for Direction
[src]
impl StructuralPartialEq for Direction
[src]
Auto Trait Implementations
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,