#[non_exhaustive]pub enum ArrayType {
C,
Array,
PtrArray,
ByteArray,
}
Expand description
The type of array in a GITypeInfo
.
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.
C
a C array, char[] for instance
Array
a GArray
array
PtrArray
a GPtrArray
array
ByteArray
a GByteArray
array
Trait Implementations§
Source§impl Ord for ArrayType
impl Ord for ArrayType
Source§impl PartialOrd for ArrayType
impl PartialOrd for ArrayType
impl Copy for ArrayType
impl Eq for ArrayType
impl StructuralPartialEq for ArrayType
Auto Trait Implementations§
impl Freeze for ArrayType
impl RefUnwindSafe for ArrayType
impl Send for ArrayType
impl Sync for ArrayType
impl Unpin for ArrayType
impl UnwindSafe for ArrayType
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