Struct edlang_ir::AdtVariant
source · pub struct AdtVariant {
pub def_id: DefId,
pub name: String,
pub ty: TypeInfo,
}
Expand description
struct field or enum variant
Fields§
§def_id: DefId
§name: String
§ty: TypeInfo
Trait Implementations§
source§impl Clone for AdtVariant
impl Clone for AdtVariant
source§fn clone(&self) -> AdtVariant
fn clone(&self) -> AdtVariant
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for AdtVariant
impl RefUnwindSafe for AdtVariant
impl Send for AdtVariant
impl Sync for AdtVariant
impl Unpin for AdtVariant
impl UnwindSafe for AdtVariant
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