pub struct StructAsParamType {
pub name: NameOrNameWithMod,
pub args: Vec<Box<Obj>>,
}Fields§
§name: NameOrNameWithMod§args: Vec<Box<Obj>>Implementations§
Source§impl StructAsParamType
impl StructAsParamType
pub fn new(name: NameOrNameWithMod, args: Vec<Obj>) -> Self
pub fn new_with_boxed_args(name: NameOrNameWithMod, args: Vec<Box<Obj>>) -> Self
pub fn struct_name(&self) -> String
Trait Implementations§
Source§impl Clone for StructAsParamType
impl Clone for StructAsParamType
Source§fn clone(&self) -> StructAsParamType
fn clone(&self) -> StructAsParamType
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 moreAuto Trait Implementations§
impl Freeze for StructAsParamType
impl RefUnwindSafe for StructAsParamType
impl !Send for StructAsParamType
impl !Sync for StructAsParamType
impl Unpin for StructAsParamType
impl UnsafeUnpin for StructAsParamType
impl UnwindSafe for StructAsParamType
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