🚧 Revamp ComponentRef to ComponentArc
This commit is contained in:
parent
df0b2eeb71
commit
68b54fbce5
10 changed files with 105 additions and 79 deletions
|
|
@ -83,12 +83,12 @@ impl Row {
|
|||
}
|
||||
|
||||
pub fn with_column(mut self, column: grid::Column) -> Self {
|
||||
self.columns.alter(PackOp::Add, ComponentRef::to(column));
|
||||
self.columns.alter(PackOp::Add, ComponentArc::new(column));
|
||||
self
|
||||
}
|
||||
|
||||
pub fn alter_columns(&mut self, op: PackOp, column: grid::Column) -> &mut Self {
|
||||
self.columns.alter(op, ComponentRef::to(column));
|
||||
self.columns.alter(op, ComponentArc::new(column));
|
||||
self
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue