Struct sc2_proto::common::Size2DI[][src]

pub struct Size2DI {
    pub x: Option<i32>,
    pub y: Option<i32>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

x: Option<i32>y: Option<i32>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Size2DI[src]

pub fn new() -> Size2DI[src]

pub fn get_x(&self) -> i32[src]

pub fn clear_x(&mut self)[src]

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

pub fn set_x(&mut self, v: i32)[src]

pub fn get_y(&self) -> i32[src]

pub fn clear_y(&mut self)[src]

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

pub fn set_y(&mut self, v: i32)[src]

Trait Implementations

impl Clear for Size2DI[src]

impl Clone for Size2DI[src]

impl Debug for Size2DI[src]

impl Default for Size2DI[src]

impl<'a> Default for &'a Size2DI[src]

impl Message for Size2DI[src]

impl PartialEq<Size2DI> for Size2DI[src]

impl ProtobufValue for Size2DI[src]

impl StructuralPartialEq for Size2DI[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> 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.