Struct sc2_proto::debug::DebugText[][src]

pub struct DebugText {
    pub color: SingularPtrField<Color>,
    pub text: SingularField<String>,
    pub virtual_pos: SingularPtrField<Point>,
    pub world_pos: SingularPtrField<Point>,
    pub size: Option<u32>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

color: SingularPtrField<Color>text: SingularField<String>virtual_pos: SingularPtrField<Point>world_pos: SingularPtrField<Point>size: Option<u32>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DebugText[src]

pub fn new() -> DebugText[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_text(&self) -> &str[src]

pub fn clear_text(&mut self)[src]

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

pub fn set_text(&mut self, v: String)[src]

pub fn mut_text(&mut self) -> &mut String[src]

pub fn take_text(&mut self) -> String[src]

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

pub fn clear_virtual_pos(&mut self)[src]

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

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

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

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

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

pub fn clear_world_pos(&mut self)[src]

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

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

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

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

pub fn get_size(&self) -> u32[src]

pub fn clear_size(&mut self)[src]

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

pub fn set_size(&mut self, v: u32)[src]

Trait Implementations

impl Clear for DebugText[src]

impl Clone for DebugText[src]

impl Debug for DebugText[src]

impl Default for DebugText[src]

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

impl Message for DebugText[src]

impl PartialEq<DebugText> for DebugText[src]

impl ProtobufValue for DebugText[src]

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