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