Skip to main content

is_object

Function is_object 

Source
pub fn is_object(types: &Types, id: TypeId) -> bool
Expand description

An object type, 6.2.5p1: anything that is not a function type.

void is one, and so is an incomplete struct. Whether the object can be made is is_complete, and the two questions are asked in different places.