Exposed ElementUpdateStrategy
, implemented Default
for it
This commit is contained in:
parent
941cb8e6ab
commit
605c2b7856
2 changed files with 7 additions and 1 deletions
|
@ -49,3 +49,9 @@ impl Element {
|
|||
pub enum ElementUpdateStrategy {
|
||||
Overwrite
|
||||
}
|
||||
|
||||
impl Default for ElementUpdateStrategy {
|
||||
fn default() -> Self {
|
||||
Self::Overwrite
|
||||
}
|
||||
}
|
|
@ -8,7 +8,7 @@ mod element_id;
|
|||
pub use element_id::ElementId;
|
||||
|
||||
mod element;
|
||||
pub use element::Element;
|
||||
pub use element::{Element, ElementUpdateStrategy};
|
||||
|
||||
mod family_id;
|
||||
pub use family_id::FamilyId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue