[][src]Struct orbtk_render::utils::DirtySize

pub struct DirtySize { /* fields omitted */ }

Size with width, height and dirty flag.

Implementations

impl DirtySize[src]

pub fn new() -> DirtySize[src]

Creates a new dirty size with default values.

pub fn width(&self) -> f64[src]

pub fn set_width(&mut self, width: f64)[src]

pub fn height(&self) -> f64[src]

pub fn set_height(&mut self, height: f64)[src]

pub fn size(&self) -> (f64, f64)[src]

pub fn set_size(&mut self, width: f64, height: f64)[src]

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

Gets the dirty flag.

pub fn set_dirty(&mut self, dirty: bool)[src]

Sets the dirty flag.

Trait Implementations

impl Clone for DirtySize[src]

impl Copy for DirtySize[src]

impl Default for DirtySize[src]

impl PartialEq<DirtySize> for DirtySize[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

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.