pub struct RecType {
pub open: Cell<bool>,
pub members: RefCell<Vec<Member>>,
pub asserts: RefCell<Vec<AssertItem>>,
pub ctx_decls: RefCell<Vec<(String, RT)>>,
pub filling: Cell<bool>,
pub pending: RefCell<Vec<(RT, RT)>>,
}Expand description
a record type’s shape
Fields§
§open: Cell<bool>whether it is open
members: RefCell<Vec<Member>>its members
asserts: RefCell<Vec<AssertItem>>its assertions and guarded groups
ctx_decls: RefCell<Vec<(String, RT)>>context $parent: ref<T> declarations (D30), checked at embedding sites
filling: Cell<bool>still being filled; extensions of it wait in pending (§3.14)
pending: RefCell<Vec<(RT, RT)>>extensions not yet merged (recursive types)
Auto Trait Implementations§
impl !Freeze for RecType
impl !RefUnwindSafe for RecType
impl !Send for RecType
impl !Sync for RecType
impl !UnwindSafe for RecType
impl Unpin for RecType
impl UnsafeUnpin for RecType
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