pub struct RModule {
pub sym_id: RSym,
pub procs: RefCell<RHashMap<String, RProc>>,
pub consts: RefCell<RHashMap<String, Rc<RObject>>>,
pub mixed_in_modules: RefCell<Vec<Rc<RModule>>>,
pub parent: RefCell<Option<Rc<RModule>>>,
pub underlying: RefCell<Option<Weak<RClass>>>,
}Expand description
Ruby module with methods, constants, and mixin relationships.
Fields§
§sym_id: RSym§procs: RefCell<RHashMap<String, RProc>>§consts: RefCell<RHashMap<String, Rc<RObject>>>§mixed_in_modules: RefCell<Vec<Rc<RModule>>>§parent: RefCell<Option<Rc<RModule>>>§underlying: RefCell<Option<Weak<RClass>>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RModule
impl !RefUnwindSafe for RModule
impl !Send for RModule
impl !Sync for RModule
impl Unpin for RModule
impl !UnwindSafe for RModule
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