Skip to main content

comment_object_to_target

Function comment_object_to_target 

Source
fn comment_object_to_target(
    obj: &CommentObjectType<Raw>,
) -> Option<(&RawItemName, ObjectType)>
Expand description

Extract the target name and ObjectType from a CommentObjectType.

Returns Some((name, object_type)) for supported comment types, None for unsupported types. Column comments are handled separately since they reference the parent table.