pub struct Member {
pub kind: MKind,
pub name: String,
pub hidden: bool,
pub ty: Option<RT>,
pub conj: Option<Vec<RT>>,
pub dflt: Option<Rc<Expr>>,
pub expr: Option<Rc<Expr>>,
pub menv: Option<Rc<Env>>,
}Expand description
a member of a resolved record type
Fields§
§kind: MKindthe kind
name: Stringthe name
a hidden member (D34): computed, never part of the value
ty: Option<RT>the type
conj: Option<Vec<RT>>the types a conjunction contributed
dflt: Option<Rc<Expr>>the default
expr: Option<Rc<Expr>>the derived expression
menv: Option<Rc<Env>>the module environment
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Member
impl !Send for Member
impl !Sync for Member
impl !UnwindSafe for Member
impl Freeze for Member
impl Unpin for Member
impl UnsafeUnpin for Member
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