Function CFAttributedStringSetAttribute

Source
pub unsafe extern "C-unwind" fn CFAttributedStringSetAttribute(
    a_str: Option<&CFMutableAttributedString>,
    range: CFRange,
    attr_name: Option<&CFString>,
    value: Option<&CFType>,
)
Available on crate features CFAttributedString and CFBase only.
Expand description

Sets the value of a single attribute over the specified range, which should be valid. value should not be NULL.