Skip to main content

builtin_structure

Function builtin_structure 

Source
fn builtin_structure(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Set attributes on an object in a single call.

Named arguments become attributes on the object. The special names “.Names” and “names” set the names attribute.

@param .Data object to modify @param … name=value pairs to set as attributes @return the modified object