pub struct MirStructDef {
pub name: String,
pub fields: Vec<(String, String)>,
pub is_record: bool,
pub vis: Visibility,
}Fields§
§name: String§fields: Vec<(String, String)>§is_record: boolTrue if this is a record (immutable value type).
vis: VisibilityTrait Implementations§
Source§impl Clone for MirStructDef
impl Clone for MirStructDef
Source§fn clone(&self) -> MirStructDef
fn clone(&self) -> MirStructDef
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 moreAuto Trait Implementations§
impl Freeze for MirStructDef
impl RefUnwindSafe for MirStructDef
impl Send for MirStructDef
impl Sync for MirStructDef
impl Unpin for MirStructDef
impl UnsafeUnpin for MirStructDef
impl UnwindSafe for MirStructDef
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