Struct sc2_proto::debug::DebugSphere[][src]

pub struct DebugSphere {
    pub color: SingularPtrField<Color>,
    pub p: SingularPtrField<Point>,
    pub r: Option<f32>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

color: SingularPtrField<Color>p: SingularPtrField<Point>r: Option<f32>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DebugSphere[src]

pub fn new() -> DebugSphere[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_p(&self) -> &Point[src]

pub fn clear_p(&mut self)[src]

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

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

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

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

pub fn get_r(&self) -> f32[src]

pub fn clear_r(&mut self)[src]

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

pub fn set_r(&mut self, v: f32)[src]

Trait Implementations

impl Clear for DebugSphere[src]

impl Clone for DebugSphere[src]

impl Debug for DebugSphere[src]

impl Default for DebugSphere[src]

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

impl Message for DebugSphere[src]

impl PartialEq<DebugSphere> for DebugSphere[src]

impl ProtobufValue for DebugSphere[src]

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