pub enum ZigType {
}Expand description
Zig type representation.
Variants§
Void
Bool
U8
U64
I64
F64
Int
Generic signed integer type.
Ptr(Box<ZigType>)
Slice(Box<ZigType>)
Struct(String)
Fn(Vec<ZigType>, Box<ZigType>)
Optional(Box<ZigType>)
ErrorUnion(Box<ZigType>)
Anyopaque
Implementations§
Trait Implementations§
impl StructuralPartialEq for ZigType
Auto Trait Implementations§
impl Freeze for ZigType
impl RefUnwindSafe for ZigType
impl Send for ZigType
impl Sync for ZigType
impl Unpin for ZigType
impl UnsafeUnpin for ZigType
impl UnwindSafe for ZigType
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