Skip to content

Commit

Permalink
Adding Clone for Spacer
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoods committed Nov 14, 2024
1 parent bf7c841 commit 4bc1f8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composable-views/src/layout/spacing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use std::cell::Cell;

use crate::{Bounds, Output, Size, View};

#[derive(Clone)]
pub struct Spacer(Cell<Size>);

impl Spacer {
Expand Down

0 comments on commit 4bc1f8e

Please sign in to comment.