mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 04:48:29 +00:00
Update documentation of Core
This commit is contained in:
parent
5beb8e8a54
commit
5a7f10964e
@ -13,14 +13,14 @@ pub struct Core {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Core {
|
impl Core {
|
||||||
/// Construct an instance of `Instance`
|
/// Construct an instance of `Core`
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
layers: Layers::default(),
|
layers: Layers::default(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Construct an instance of `Instance`, using the provided configuration
|
/// Construct an instance of `Core`, using the provided configuration
|
||||||
pub fn with_validation_config(config: ValidationConfig) -> Self {
|
pub fn with_validation_config(config: ValidationConfig) -> Self {
|
||||||
let layers = Layers::with_validation_config(config);
|
let layers = Layers::with_validation_config(config);
|
||||||
Self { layers }
|
Self { layers }
|
||||||
|
Loading…
Reference in New Issue
Block a user