[][src]Struct thirtyfour_sync::OptionRect

pub struct OptionRect {
    pub x: Option<i32>,
    pub y: Option<i32>,
    pub width: Option<i32>,
    pub height: Option<i32>,
}

Fields

x: Option<i32>y: Option<i32>width: Option<i32>height: Option<i32>

Implementations

impl OptionRect[src]

pub fn new() -> OptionRect[src]

pub fn with_x(self, value: i32) -> OptionRect[src]

pub fn with_y(self, value: i32) -> OptionRect[src]

pub fn with_width(self, value: i32) -> OptionRect[src]

pub fn with_height(self, value: i32) -> OptionRect[src]

pub fn with_pos(self, x: i32, y: i32) -> OptionRect[src]

pub fn with_size(self, width: i32, height: i32) -> OptionRect[src]

Trait Implementations

impl Clone for OptionRect[src]

impl Debug for OptionRect[src]

impl Default for OptionRect[src]

impl Eq for OptionRect[src]

impl From<Rect> for OptionRect[src]

impl PartialEq<OptionRect> for OptionRect[src]

impl Serialize for OptionRect[src]

impl StructuralEq for OptionRect[src]

impl StructuralPartialEq for OptionRect[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> 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.