pub struct ZigStruct {
pub name: String,
pub fields: Vec<(String, ZigType)>,
pub is_pub: bool,
}Expand description
Represents a Zig struct definition.
Fields§
§name: String§fields: Vec<(String, ZigType)>§is_pub: boolImplementations§
Auto Trait Implementations§
impl Freeze for ZigStruct
impl RefUnwindSafe for ZigStruct
impl Send for ZigStruct
impl Sync for ZigStruct
impl Unpin for ZigStruct
impl UnsafeUnpin for ZigStruct
impl UnwindSafe for ZigStruct
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