pub struct IrTupleStruct {
pub ident: Ident,
pub id: TypeId,
pub fields: Vec<IrUnnamedField>,
pub mod: Option<&'static str>,
}Expand description
A struct with the format:
struct T (type, ...);Fields§
§ident: Ident§id: TypeId§fields: Vec<IrUnnamedField>§mod: Option<&'static str>Implementations§
Trait Implementations§
Source§impl Clone for IrTupleStruct
impl Clone for IrTupleStruct
Source§fn clone(&self) -> IrTupleStruct
fn clone(&self) -> IrTupleStruct
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 Debug for IrTupleStruct
impl Debug for IrTupleStruct
Source§impl From<IrTupleStruct> for IrItem
impl From<IrTupleStruct> for IrItem
Source§fn from(value: IrTupleStruct) -> Self
fn from(value: IrTupleStruct) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IrTupleStruct
impl RefUnwindSafe for IrTupleStruct
impl !Send for IrTupleStruct
impl !Sync for IrTupleStruct
impl Unpin for IrTupleStruct
impl UnwindSafe for IrTupleStruct
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