[][src]Struct alcro::Bounds

pub struct Bounds {
    pub left: i32,
    pub top: i32,
    pub width: i32,
    pub height: i32,
    pub window_state: WindowState,
}

A struct that stores the size, position and window state of the browser window.

Fields

left: i32

x coordinate of the window

top: i32

y coordinate of the window

width: i32

width of the window

height: i32

height of the window

window_state: WindowState

Trait Implementations

impl Clone for Bounds[src]

impl Copy for Bounds[src]

impl Debug for Bounds[src]

impl<'de> Deserialize<'de> for Bounds[src]

impl Eq for Bounds[src]

impl Hash for Bounds[src]

impl PartialEq<Bounds> for Bounds[src]

impl Serialize for Bounds[src]

impl StructuralEq for Bounds[src]

impl StructuralPartialEq for Bounds[src]

Auto Trait Implementations

impl RefUnwindSafe for Bounds

impl Send for Bounds

impl Sync for Bounds

impl Unpin for Bounds

impl UnwindSafe for Bounds

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.