pub struct RubyModuleDef {
pub name: String,
pub includes: Vec<String>,
pub methods: Vec<RubyMethodDef>,
pub constants: Vec<(String, String)>,
}Expand description
Ruby module definition
Fields§
§name: String§includes: Vec<String>§methods: Vec<RubyMethodDef>§constants: Vec<(String, String)>Trait Implementations§
Source§impl Clone for RubyModuleDef
impl Clone for RubyModuleDef
Source§fn clone(&self) -> RubyModuleDef
fn clone(&self) -> RubyModuleDef
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 moreSource§impl Debug for RubyModuleDef
impl Debug for RubyModuleDef
Auto Trait Implementations§
impl Freeze for RubyModuleDef
impl RefUnwindSafe for RubyModuleDef
impl Send for RubyModuleDef
impl Sync for RubyModuleDef
impl Unpin for RubyModuleDef
impl UnsafeUnpin for RubyModuleDef
impl UnwindSafe for RubyModuleDef
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