pub struct StructStmt<'ir> {
pub name: Ident<'ir>,
pub fields: Vec<IRTypedIdent<'ir>>,
}Fields§
§name: Ident<'ir>§fields: Vec<IRTypedIdent<'ir>>Trait Implementations§
Source§impl<'ir> Clone for StructStmt<'ir>
impl<'ir> Clone for StructStmt<'ir>
Source§fn clone(&self) -> StructStmt<'ir>
fn clone(&self) -> StructStmt<'ir>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'ir> Debug for StructStmt<'ir>
impl<'ir> Debug for StructStmt<'ir>
Source§impl Display for StructStmt<'_>
impl Display for StructStmt<'_>
Source§impl<'ir> PartialEq for StructStmt<'ir>
impl<'ir> PartialEq for StructStmt<'ir>
impl<'ir> StructuralPartialEq for StructStmt<'ir>
Auto Trait Implementations§
impl<'ir> Freeze for StructStmt<'ir>
impl<'ir> RefUnwindSafe for StructStmt<'ir>
impl<'ir> Send for StructStmt<'ir>
impl<'ir> Sync for StructStmt<'ir>
impl<'ir> Unpin for StructStmt<'ir>
impl<'ir> UnwindSafe for StructStmt<'ir>
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