Struct wit_bindgen_core::TypeInfo
source · pub struct TypeInfo {
pub borrowed: bool,
pub owned: bool,
pub error: bool,
pub has_list: bool,
}Fields§
§borrowed: boolWhether or not this type is ever used (transitively) within the parameter of an imported function.
This means that it’s used in a context where ownership isn’t relinquished.
owned: boolWhether or not this type is ever used (transitively) within the parameter or result of an export, or the result of an import.
This means that it’s used in a context where ownership is required and memory management is necessary.
error: boolWhether or not this type is ever used (transitively) within the error case in the result of a function.
has_list: boolWhether or not this type (transitively) has a list.
Trait Implementations§
source§impl BitOrAssign<TypeInfo> for TypeInfo
impl BitOrAssign<TypeInfo> for TypeInfo
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read more