Skip to content

Commit

Permalink
Add with_entry_mode to DisplayOptions builders
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinTimBarndt committed Sep 17, 2024
1 parent 1e4377a commit 3304d93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ macro_rules! builder_functions {
$($fn: self.$fn),*
}
}

pub fn with_entry_mode(mut self, entry_mode: EntryMode) -> Self {
self.entry_mode = entry_mode;
self
}
}
};
}
Expand Down

0 comments on commit 3304d93

Please sign in to comment.