pub struct CompilerConfiguration { /* private fields */ }
Expand description

The structure for configuring aspects of the compilation of .slint markup files to Rust.

Implementationsยง

Creates a new default configuration.

Create a new configuration that includes sets the include paths used for looking up .slint imports to the specified vector of paths.

Create a new configuration that selects the style to be used for widgets.

Selects how the resources such as images and font are processed.

See EmbedResourcesKind

Trait Implementationsยง

Returns the โ€œdefault valueโ€ for a type. Read more

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 alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
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.