pub struct StructInstance {
pub name: StructAsParamType,
pub fields_equal_to_what: Vec<Box<Obj>>,
}Fields§
§name: StructAsParamType§fields_equal_to_what: Vec<Box<Obj>>Implementations§
Source§impl StructInstance
impl StructInstance
pub fn new(name: StructAsParamType, fields_equal_to_what: Vec<Obj>) -> Self
pub fn new_with_boxed_fields( name: StructAsParamType, fields_equal_to_what: Vec<Box<Obj>>, ) -> Self
Trait Implementations§
Source§impl Clone for StructInstance
impl Clone for StructInstance
Source§fn clone(&self) -> StructInstance
fn clone(&self) -> StructInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Display for StructInstance
impl Display for StructInstance
Source§impl From<StructInstance> for Obj
impl From<StructInstance> for Obj
Source§fn from(s: StructInstance) -> Self
fn from(s: StructInstance) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StructInstance
impl RefUnwindSafe for StructInstance
impl !Send for StructInstance
impl !Sync for StructInstance
impl Unpin for StructInstance
impl UnsafeUnpin for StructInstance
impl UnwindSafe for StructInstance
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