Updated SpinButton::new() and enum Orientation to be private
This commit is contained in:
parent
f173996f12
commit
757e078e0b
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue