[−][src]Struct native_windows_gui::ProgressBarT
A template that creates a progress bar
Events:
Event::Destroyed, Event::Moved, Event::Resized, Event::Raw
Members:
• position
: The start position of the progressbar
• size
: The start size of the progressbar
• visible
: If the progressbar should be visible to the user
• disabled
: If the user can or can't click on the progressbar
• range
: The minimum and the maximum value of the progress bar
• position
: The starting position of the progress bar
• step
: Amount of value to add when step
is called
• state
: The state of the progress bar.
• vertical
: If the progress bar should be vertical instead of horizontal
• parent
: The progressbar parent
Fields
position: (i32, i32)
size: (u32, u32)
visible: bool
disabled: bool
range: (u32, u32)
value: u32
step: u32
state: ProgressBarState
vertical: bool
parent: ID
Trait Implementations
impl<ID: Hash + Clone> ControlT<ID> for ProgressBarT<ID>
[src]
fn resource_type_id(&self) -> TypeId
[src]
fn events(&self) -> Vec<Event>
[src]
fn build(&self, ui: &Ui<ID>) -> Result<Box<dyn Control>, Error>
[src]
impl<ID: Clone + Hash + Clone> Clone for ProgressBarT<ID>
[src]
fn clone(&self) -> ProgressBarT<ID>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<ID> Send for ProgressBarT<ID> where
ID: Send,
ID: Send,
impl<ID> Sync for ProgressBarT<ID> where
ID: Sync,
ID: Sync,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,