Struct bevy_doryen::Resized[][src]

pub struct Resized {
    pub previous_width: u32,
    pub previous_height: u32,
    pub new_width: u32,
    pub new_height: u32,
}

Resized event object. Whenever Doryen’s resize method is called, an event of this type is emitted.

Fields

previous_width: u32

The previous width of the Doryen game window.

previous_height: u32

The previous height of the Doryen game window.

new_width: u32

The new width of the Doryen game window.

new_height: u32

The new height of the Doryen game window.

Trait Implementations

impl Clone for Resized[src]

impl Copy for Resized[src]

impl Debug for Resized[src]

Auto Trait Implementations

impl RefUnwindSafe for Resized

impl Send for Resized

impl Sync for Resized

impl Unpin for Resized

impl UnwindSafe for Resized

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> Component for T where
    T: 'static + Send + Sync
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> Erased for T

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> Resource for T where
    T: 'static + Send + Sync
[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>,