[][src]Struct native_windows_gui::ProgressBarT

pub struct ProgressBarT<ID: Hash + Clone> {
    pub position: (i32, i32),
    pub size: (u32, u32),
    pub visible: bool,
    pub disabled: bool,
    pub range: (u32, u32),
    pub value: u32,
    pub step: u32,
    pub state: ProgressBarState,
    pub vertical: bool,
    pub parent: ID,
}

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: booldisabled: boolrange: (u32, u32)value: u32step: u32state: ProgressBarStatevertical: boolparent: ID

Trait Implementations

impl<ID: Hash + Clone> ControlT<ID> for ProgressBarT<ID>[src]

impl<ID: Clone + Hash + Clone> Clone for 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

impl<ID> Sync for ProgressBarT<ID> where
    ID: Sync

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]