Function CFAttributedStringCreateWithSubstring

Source
pub unsafe extern "C-unwind" fn CFAttributedStringCreateWithSubstring(
    alloc: Option<&CFAllocator>,
    a_str: Option<&CFAttributedString>,
    range: CFRange,
) -> Option<CFRetained<CFAttributedString>>
Available on crate features CFAttributedString and CFBase only.
Expand description

Creates a sub-attributed string from the specified range. It’s a programming error for range to specify characters outside the bounds of aStr.