Struct julia::api::module::Module [] [src]

pub struct Module { /* fields omitted */ }

Methods

impl Module
[src]

[src]

Returns a global bound to the symbol sym.

[src]

Returns a function bound to the symbol sym.

[src]

Binds value to the symbol sym in this module.

[src]

Binds value to the symbol sym in this module as a constant.

Trait Implementations

impl Clone for Module
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl JlValue<jl_module_t> for Module
[src]

[src]

Construct a new JlValue from a raw pointer obtained from Julia.

[src]

Construct a new JlValue from a raw pointer obtained from Julia while previously validating it. Read more

[src]

Safely borrow the unique pointer to a inner jl_value. Read more

[src]

Take ownership of the inner jl_value. Read more

[src]

Add a finalizer, a function that will be run when the object is collected. Read more

[src]

Consume and finalize self.

[src]

Returns the name of the type.

[src]

Returns the type of the object as a Datatype.

[src]

Returns the value of a field if it exists.

[src]

Sets the value of a field if it exists.

[src]

Constructs an object of type Self from another object that implements JlValue. Read more

[src]

Consumes self and returns an object of another type with the same inner pointer. Read more

impl Debug for Module
[src]

[src]

Formats the value using the given formatter.

impl Display for Module
[src]

[src]

Formats the value using the given formatter. Read more