Skip to content

Commit

Permalink
chore: add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Aug 6, 2024
1 parent 78e8cbc commit 258d062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iced_layershell/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ pub type LayershellCustomActionsWithId = LayershellCustomActionsWithIdAndInfo<()
// first one means
#[derive(Debug, Clone, Copy)]
pub(crate) struct LayershellCustomActionsWithIdInner<INFO: Clone>(
pub LayerId,
pub Option<LayerId>,
pub LayershellCustomActionsWithInfo<INFO>,
pub LayerId, // come from
pub Option<LayerId>, // target if has one
pub LayershellCustomActionsWithInfo<INFO>, // actions
);

impl<T, INFO: Clone + 'static> From<LayershellCustomActionsWithIdAndInfo<INFO>> for Action<T> {
Expand Down

0 comments on commit 258d062

Please sign in to comment.