[][src]Struct core_foundation::attributed_string::CFMutableAttributedString

pub struct CFMutableAttributedString(_);

Implementations

impl CFMutableAttributedString[src]

pub fn new() -> Self[src]

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

pub fn replace_str(&mut self, string: &CFString, range: CFRange)[src]

pub fn set_attribute<T: TCFType>(
    &mut self,
    range: CFRange,
    name: CFStringRef,
    value: &T
)
[src]

Trait Implementations

impl Clone for CFMutableAttributedString[src]

impl ConcreteCFType for CFMutableAttributedString[src]

impl Default for CFMutableAttributedString[src]

impl Drop for CFMutableAttributedString[src]

impl Eq for CFMutableAttributedString[src]

impl PartialEq<CFMutableAttributedString> for CFMutableAttributedString[src]

impl TCFType for CFMutableAttributedString[src]

type Ref = CFMutableAttributedStringRef

The reference type wrapped inside this type.

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

impl ToVoid<CFMutableAttributedString> for CFMutableAttributedString[src]

impl ToVoid<CFMutableAttributedString> for CFMutableAttributedStringRef[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.