pub struct ConstructorInfo {
pub path: Vec<String>,
pub name: String,
pub kwargs: Value,
}Expand description
Information about a constructor to instantiate.
Fields§
§path: Vec<String>The full path to the type (namespace + name).
name: StringThe name of the type.
kwargs: ValueThe constructor arguments.
Trait Implementations§
Source§impl Clone for ConstructorInfo
impl Clone for ConstructorInfo
Source§fn clone(&self) -> ConstructorInfo
fn clone(&self) -> ConstructorInfo
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 moreAuto Trait Implementations§
impl Freeze for ConstructorInfo
impl RefUnwindSafe for ConstructorInfo
impl Send for ConstructorInfo
impl Sync for ConstructorInfo
impl Unpin for ConstructorInfo
impl UnwindSafe for ConstructorInfo
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