fn new(
        name: &str,
        generator: Box<dyn IArgLeaf>,
        atype: &str
        ) -> Arg
    {
        Arg {
            name: name.to_string() + generator.name(),
            //data: Box::new(vec![0x66u8; generator.size()]),
            //data: Box::new(vec![0x0u8; generator.size()]),
            data: NativeAlloc::new(generator.size(), 0x1000usize),//align should be configurable
            generator: generator,
            atype: atype.to_string(),
        }
    }
/// default values of data are 0x66 pattern or 0 as for NativeAlloc settings
///
/// name can contain if it describes memory pointer or primitive type
///
/// note : size of Arg memory depends on generator!!
default values of data are 0x66 pattern or 0 as for NativeAlloc settings
name can contain if it describes memory pointer or primitive type

note : size of Arg memory depends on generator
default values of data are 0x66 pattern or 0 as for NativeAlloc settings name can contain if it describes memory pointer or primitive type note : size of Arg memory depends on generator
fn new(
        name: &str,
        generator: Box<dyn IArgLeaf>,
        atype: &str
        ) -> Arg
    {
        Arg {
            name: name.to_string() + generator.name(),
            //data: Box::new(vec![0x66u8; generator.size()]),
            //data: Box::new(vec![0x0u8; generator.size()]),
            data: NativeAlloc::new(generator.size(), 0x1000usize),//align should be configurable
            generator: generator,
            atype: atype.to_string(),
        }
    }
fn new ( name : & str , generator : Box < dyn IArgLeaf > , atype : & str ) -> Arg { Arg { name : name . to_string ( ) + generator . name ( ) , //data: Box::new(vec![0x66u8; generator.size()]), //data: Box::new(vec![0x0u8; generator.size()]), data : NativeAlloc :: new ( generator . size ( ) , 0x1000usize ) , //align should be configurable generator : generator , atype : atype . to_string ( ) , } }
default values of data are 0x66 pattern or 0 as for NativeAlloc settings
name can contain if it describes memory pointer or primitive type
default values of data are 0x66 pattern or 0 as for NativeAlloc settings name can contain if it describes memory pointer or primitive type
name
&str
generator
Box<dyn IArgLeaf>
atype
&str
name
&str
generator
Box<dyn IArgLeaf>
atype
&str