Function CTRubyAnnotationCreateCopy

Source
pub unsafe extern "C-unwind" fn CTRubyAnnotationCreateCopy(
    ruby_annotation: &CTRubyAnnotation,
) -> CFRetained<CTRubyAnnotation>
Available on crate feature CTRubyAnnotation only.
Expand description

Creates an immutable copy of a ruby annotation object.

Parameter rubyAnnotation: The ruby annotation that you wish to copy.

Returns: If the “rubyAnnotation” reference is valid, then this function will return valid reference to an immutable CTRubyAnnotation object that is a copy of the one passed into “rubyAnnotation”.