Struct miniview::config::Config[][src]

pub struct Config { /* fields omitted */ }

Configuration which can be provided to a miniview window controlling instance which enables different program behaviours

Implementations

impl Config[src]

pub fn source(&self) -> &Source[src]

Source of the image

pub fn fullscreen(&self) -> bool[src]

Whether the window should open in fullscreen mode or not

pub fn resizable_window(&self) -> bool[src]

Whether the window should be resizable or not

If fullscreen mode is active for the window, this setting is implied.

pub fn lazy_window(&self) -> bool[src]

Whether the window continuously or lazily checks for input events

Note: if this is set to true, the [MiniView.close] method will only close upon receiving some input event.

pub fn window_name(&self) -> &str[src]

Trait Implementations

impl<'window_name> Debug for Config[src]

Auto Trait Implementations

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> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.