Struct sc2_proto::debug::DebugBox[][src]

pub struct DebugBox {
    pub color: SingularPtrField<Color>,
    pub min: SingularPtrField<Point>,
    pub max: SingularPtrField<Point>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

color: SingularPtrField<Color>min: SingularPtrField<Point>max: SingularPtrField<Point>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DebugBox[src]

pub fn new() -> DebugBox[src]

pub fn get_color(&self) -> &Color[src]

pub fn clear_color(&mut self)[src]

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

pub fn set_color(&mut self, v: Color)[src]

pub fn mut_color(&mut self) -> &mut Color[src]

pub fn take_color(&mut self) -> Color[src]

pub fn get_min(&self) -> &Point[src]

pub fn clear_min(&mut self)[src]

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

pub fn set_min(&mut self, v: Point)[src]

pub fn mut_min(&mut self) -> &mut Point[src]

pub fn take_min(&mut self) -> Point[src]

pub fn get_max(&self) -> &Point[src]

pub fn clear_max(&mut self)[src]

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

pub fn set_max(&mut self, v: Point)[src]

pub fn mut_max(&mut self) -> &mut Point[src]

pub fn take_max(&mut self) -> Point[src]

Trait Implementations

impl Clear for DebugBox[src]

impl Clone for DebugBox[src]

impl Debug for DebugBox[src]

impl Default for DebugBox[src]

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

impl Message for DebugBox[src]

impl PartialEq<DebugBox> for DebugBox[src]

impl ProtobufValue for DebugBox[src]

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