Updated SpinButton::new() and enum Orientation to be private

This commit is contained in:
Bryan Hyland 2024-11-18 12:03:47 -08:00
parent f173996f12
commit 757e078e0b
2 changed files with 3 additions and 3 deletions

View file

@ -311,7 +311,7 @@ pub mod settings;
pub mod spin_button;
#[doc(inline)]
pub use spin_button::{spin_button, vertical};
pub use spin_button::{spin_button, vertical, SpinButton};
pub mod tab_bar;

View file

@ -25,7 +25,7 @@ use crate::{
};
#[derive(Clone, Copy)]
pub enum Orientation {
enum Orientation {
Horizontal,
Vertical,
}
@ -60,7 +60,7 @@ where
T: Add<Output = T> + Sub<Output = T> + PartialEq + PartialOrd + Display + Copy
{
/// Create a new new button
pub fn new(
fn new(
label: impl Into<String>,
step: T,
value: T,