Struct sc2_proto::raw::PowerSource[][src]

pub struct PowerSource {
    pub pos: SingularPtrField<Point>,
    pub radius: Option<f32>,
    pub tag: Option<u64>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

pos: SingularPtrField<Point>radius: Option<f32>tag: Option<u64>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl PowerSource[src]

pub fn new() -> PowerSource[src]

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

pub fn clear_pos(&mut self)[src]

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

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

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

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

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

pub fn clear_radius(&mut self)[src]

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

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

pub fn get_tag(&self) -> u64[src]

pub fn clear_tag(&mut self)[src]

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

pub fn set_tag(&mut self, v: u64)[src]

Trait Implementations

impl Clear for PowerSource[src]

impl Clone for PowerSource[src]

impl Debug for PowerSource[src]

impl Default for PowerSource[src]

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

impl Message for PowerSource[src]

impl PartialEq<PowerSource> for PowerSource[src]

impl ProtobufValue for PowerSource[src]

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