Struct sc2_proto::debug::DebugDraw[][src]

pub struct DebugDraw {
    pub text: RepeatedField<DebugText>,
    pub lines: RepeatedField<DebugLine>,
    pub boxes: RepeatedField<DebugBox>,
    pub spheres: RepeatedField<DebugSphere>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

text: RepeatedField<DebugText>lines: RepeatedField<DebugLine>boxes: RepeatedField<DebugBox>spheres: RepeatedField<DebugSphere>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DebugDraw[src]

pub fn new() -> DebugDraw[src]

pub fn get_text(&self) -> &[DebugText][src]

pub fn clear_text(&mut self)[src]

pub fn set_text(&mut self, v: RepeatedField<DebugText>)[src]

pub fn mut_text(&mut self) -> &mut RepeatedField<DebugText>[src]

pub fn take_text(&mut self) -> RepeatedField<DebugText>[src]

pub fn get_lines(&self) -> &[DebugLine][src]

pub fn clear_lines(&mut self)[src]

pub fn set_lines(&mut self, v: RepeatedField<DebugLine>)[src]

pub fn mut_lines(&mut self) -> &mut RepeatedField<DebugLine>[src]

pub fn take_lines(&mut self) -> RepeatedField<DebugLine>[src]

pub fn get_boxes(&self) -> &[DebugBox][src]

pub fn clear_boxes(&mut self)[src]

pub fn set_boxes(&mut self, v: RepeatedField<DebugBox>)[src]

pub fn mut_boxes(&mut self) -> &mut RepeatedField<DebugBox>[src]

pub fn take_boxes(&mut self) -> RepeatedField<DebugBox>[src]

pub fn get_spheres(&self) -> &[DebugSphere][src]

pub fn clear_spheres(&mut self)[src]

pub fn set_spheres(&mut self, v: RepeatedField<DebugSphere>)[src]

pub fn mut_spheres(&mut self) -> &mut RepeatedField<DebugSphere>[src]

pub fn take_spheres(&mut self) -> RepeatedField<DebugSphere>[src]

Trait Implementations

impl Clear for DebugDraw[src]

impl Clone for DebugDraw[src]

impl Debug for DebugDraw[src]

impl Default for DebugDraw[src]

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

impl Message for DebugDraw[src]

impl PartialEq<DebugDraw> for DebugDraw[src]

impl ProtobufValue for DebugDraw[src]

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