Struct iced_winit::settings::Settings[][src]

pub struct Settings<Flags> {
    pub window: Window,
    pub flags: Flags,
    pub exit_on_close_request: bool,
}

The settings of an application.

Fields

window: Window

The Window settings

flags: Flags

The data needed to initialize an Application.

exit_on_close_request: bool

Whether the [Application] should exit when the user requests the window to close (e.g. the user presses the close button).

Trait Implementations

impl<Flags: Clone> Clone for Settings<Flags>[src]

impl<Flags: Debug> Debug for Settings<Flags>[src]

impl<Flags: Default> Default for Settings<Flags>[src]

Auto Trait Implementations

impl<Flags> RefUnwindSafe for Settings<Flags> where
    Flags: RefUnwindSafe

impl<Flags> Send for Settings<Flags> where
    Flags: Send

impl<Flags> Sync for Settings<Flags> where
    Flags: Sync

impl<Flags> Unpin for Settings<Flags> where
    Flags: Unpin

impl<Flags> UnwindSafe for Settings<Flags> where
    Flags: UnwindSafe

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,