🚚 Rename alter_...(...) functions to set_...(...)
This commit is contained in:
parent
dfb34d2e36
commit
fea6c2f69e
42 changed files with 314 additions and 312 deletions
|
|
@ -85,7 +85,7 @@ impl Context {
|
|||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
pub fn alter_assets(&mut self, op: AssetsOp) -> &mut Self {
|
||||
pub fn set_assets(&mut self, op: AssetsOp) -> &mut Self {
|
||||
match op {
|
||||
AssetsOp::LangId(langid) => {
|
||||
self.langid = langid;
|
||||
|
|
@ -116,8 +116,8 @@ impl Context {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn alter_regions(&mut self, region: &'static str, op: AnyOp) -> &mut Self {
|
||||
self.regions.alter_components(region, op);
|
||||
pub fn set_regions(&mut self, region: &'static str, op: AnyOp) -> &mut Self {
|
||||
self.regions.set_components(region, op);
|
||||
self
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue