Struct core_text::run::CTRun[][src]

pub struct CTRun(_);

Implementations

impl CTRun[src]

pub fn attributes(&self) -> Option<CFDictionary<CFString, CFType>>[src]

pub fn glyph_count(&self) -> CFIndex[src]

pub fn glyphs(&self) -> Cow<'_, [CGGlyph]>[src]

pub fn positions(&self) -> Cow<'_, [CGPoint]>[src]

pub fn string_indices(&self) -> Cow<'_, [CFIndex]>[src]

Trait Implementations

impl Clone for CTRun[src]

impl ConcreteCFType for CTRun[src]

impl Debug for CTRun[src]

impl Drop for CTRun[src]

impl Eq for CTRun[src]

impl PartialEq<CTRun> for CTRun[src]

impl TCFType for CTRun[src]

type Ref = CTRunRef

The reference type wrapped inside this type.

impl<'a> ToVoid<CTRun> for &'a CTRun[src]

impl ToVoid<CTRun> for CTRun[src]

impl ToVoid<CTRun> for CTRunRef[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> FromMutVoid for T where
    T: TCFType
[src]

impl<T> FromVoid for T where
    T: TCFType
[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.