Crate scones_examples

Source

Structs§

Basic
A basic example which generates a default constructor.
BasicBuilt
An example showing how to create a builder.
BasicBuiltBuilder
A builder which creates an instance of BasicBuilt.
CustomArgs
An example showing how to add extra arguments to a constructor and use those arguments to initialize the existing fields.
MultipleConstructors
An example showing how to efficiently create multiple constructors.
OptionalBuilder
A builder which creates an instance of OptionalBuilt.
OptionalBuilt
An example showing how to add optional fields to a builder.
OverridableBuilder
A builder which creates an instance of OverridableBuilt.
OverridableBuilt
An example showing how to use overrides in builders.
ReturnResult
An example showing how to return a Result from a construtor.
Templated
An example showing that all this crate’s features work with templated types.
TemplatedBuilder
A builder which creates an instance of Templated.
TemplatedTryBuilder
A builder which creates an instance of Templated.
TupleStruct
An example showing the semantics for tuple structs.
TupleStructBuilder
A builder which creates an instance of TupleStruct.