logo
pub struct DamlModule<'a> { /* private fields */ }

Implementations

Create a root DamlModule.

Create a leaf DamlModule.

The DamlFeatureFlags of the module.

The DamlDefTypeSyn of the module.

The module path.

The child DamlModule of the module.

The DamlData declared in the module.

The DamlDefValue declared in the module.

Returns true if this is a root module, false otherwise.

Returns true if this is a leaf module, false otherwise.

Returns the local name of the module.

Retrieve a child DamlModule by name or None if no such module exists.

Retrieve a child DamlModule by name or None if no such module exists.

Retrieve a DamlData by name or None if no such data type exists.

Retrieve a DamlDefValue by name or None if no such value exists.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The target type is bounded by the 'static lifetime.

Convert an owned T into an owned T such that T: 'static.

Serialize this value into the given Serde serializer. Read more

The target type is bounded by the 'static lifetime.

Convert an &T to an owned T such that T: 'static.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.