#[non_exhaustive]pub enum InfoType {
Show 20 variants
Invalid,
Function,
Callback,
Struct,
Boxed,
Enum,
Flags,
Object,
Interface,
Constant,
Invalid0,
Union,
Value,
Signal,
Vfunc,
Property,
Field,
Arg,
Type,
Unresolved,
}
Expand description
The type of a GIBaseInfo struct.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invalid
invalid type
Function
function, see GIFunctionInfo
Callback
callback, see GIFunctionInfo
Struct
struct, see GIStructInfo
Boxed
boxed, see GIStructInfo
or GIUnionInfo
Enum
enum, see GIEnumInfo
Flags
flags, see GIEnumInfo
Object
object, see GIObjectInfo
Interface
interface, see GIInterfaceInfo
Constant
contant, see GIConstantInfo
Invalid0
deleted, used to be GI_INFO_TYPE_ERROR_DOMAIN.
Union
union, see GIUnionInfo
Value
enum value, see GIValueInfo
Signal
signal, see GISignalInfo
Vfunc
virtual function, see GIVFuncInfo
Property
GObject property, see GIPropertyInfo
Field
struct or union field, see GIFieldInfo
Arg
argument of a function or callback, see GIArgInfo
Type
type information, see GITypeInfo
Unresolved
unresolved type, a type which is not present in the typelib, or any of its dependencies.
Trait Implementations§
Source§impl Ord for InfoType
impl Ord for InfoType
Source§impl PartialOrd for InfoType
impl PartialOrd for InfoType
impl Copy for InfoType
impl Eq for InfoType
impl StructuralPartialEq for InfoType
Auto Trait Implementations§
impl Freeze for InfoType
impl RefUnwindSafe for InfoType
impl Send for InfoType
impl Sync for InfoType
impl Unpin for InfoType
impl UnwindSafe for InfoType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more