[−][src]Struct sc2_proto::sc2api::Observation
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Methods
impl Observation[src]
impl Observationpub fn new() -> Observation[src]
pub fn new() -> Observationpub fn clear_game_loop(&mut self)[src]
pub fn clear_game_loop(&mut self)pub fn has_game_loop(&self) -> bool[src]
pub fn has_game_loop(&self) -> boolpub fn set_game_loop(&mut self, v: u32)[src]
pub fn set_game_loop(&mut self, v: u32)pub fn get_game_loop(&self) -> u32[src]
pub fn get_game_loop(&self) -> u32pub fn clear_player_common(&mut self)[src]
pub fn clear_player_common(&mut self)pub fn has_player_common(&self) -> bool[src]
pub fn has_player_common(&self) -> boolpub fn set_player_common(&mut self, v: PlayerCommon)[src]
pub fn set_player_common(&mut self, v: PlayerCommon)pub fn mut_player_common(&mut self) -> &mut PlayerCommon[src]
pub fn mut_player_common(&mut self) -> &mut PlayerCommonpub fn take_player_common(&mut self) -> PlayerCommon[src]
pub fn take_player_common(&mut self) -> PlayerCommonpub fn get_player_common(&self) -> &PlayerCommon[src]
pub fn get_player_common(&self) -> &PlayerCommonpub fn clear_alerts(&mut self)[src]
pub fn clear_alerts(&mut self)pub fn set_alerts(&mut self, v: Vec<Alert>)[src]
pub fn set_alerts(&mut self, v: Vec<Alert>)pub fn mut_alerts(&mut self) -> &mut Vec<Alert>[src]
pub fn mut_alerts(&mut self) -> &mut Vec<Alert>pub fn take_alerts(&mut self) -> Vec<Alert>[src]
pub fn take_alerts(&mut self) -> Vec<Alert>pub fn get_alerts(&self) -> &[Alert][src]
pub fn get_alerts(&self) -> &[Alert]pub fn clear_abilities(&mut self)[src]
pub fn clear_abilities(&mut self)pub fn set_abilities(&mut self, v: RepeatedField<AvailableAbility>)[src]
pub fn set_abilities(&mut self, v: RepeatedField<AvailableAbility>)pub fn mut_abilities(&mut self) -> &mut RepeatedField<AvailableAbility>[src]
pub fn mut_abilities(&mut self) -> &mut RepeatedField<AvailableAbility>pub fn take_abilities(&mut self) -> RepeatedField<AvailableAbility>[src]
pub fn take_abilities(&mut self) -> RepeatedField<AvailableAbility>pub fn get_abilities(&self) -> &[AvailableAbility][src]
pub fn get_abilities(&self) -> &[AvailableAbility]pub fn clear_score(&mut self)[src]
pub fn clear_score(&mut self)pub fn has_score(&self) -> bool[src]
pub fn has_score(&self) -> boolpub fn set_score(&mut self, v: Score)[src]
pub fn set_score(&mut self, v: Score)pub fn mut_score(&mut self) -> &mut Score[src]
pub fn mut_score(&mut self) -> &mut Scorepub fn take_score(&mut self) -> Score[src]
pub fn take_score(&mut self) -> Scorepub fn get_score(&self) -> &Score[src]
pub fn get_score(&self) -> &Scorepub fn clear_raw_data(&mut self)[src]
pub fn clear_raw_data(&mut self)pub fn has_raw_data(&self) -> bool[src]
pub fn has_raw_data(&self) -> boolpub fn set_raw_data(&mut self, v: ObservationRaw)[src]
pub fn set_raw_data(&mut self, v: ObservationRaw)pub fn mut_raw_data(&mut self) -> &mut ObservationRaw[src]
pub fn mut_raw_data(&mut self) -> &mut ObservationRawpub fn take_raw_data(&mut self) -> ObservationRaw[src]
pub fn take_raw_data(&mut self) -> ObservationRawpub fn get_raw_data(&self) -> &ObservationRaw[src]
pub fn get_raw_data(&self) -> &ObservationRawpub fn clear_feature_layer_data(&mut self)[src]
pub fn clear_feature_layer_data(&mut self)pub fn has_feature_layer_data(&self) -> bool[src]
pub fn has_feature_layer_data(&self) -> boolpub fn set_feature_layer_data(&mut self, v: ObservationFeatureLayer)[src]
pub fn set_feature_layer_data(&mut self, v: ObservationFeatureLayer)pub fn mut_feature_layer_data(&mut self) -> &mut ObservationFeatureLayer[src]
pub fn mut_feature_layer_data(&mut self) -> &mut ObservationFeatureLayerpub fn take_feature_layer_data(&mut self) -> ObservationFeatureLayer[src]
pub fn take_feature_layer_data(&mut self) -> ObservationFeatureLayerpub fn get_feature_layer_data(&self) -> &ObservationFeatureLayer[src]
pub fn get_feature_layer_data(&self) -> &ObservationFeatureLayerpub fn clear_render_data(&mut self)[src]
pub fn clear_render_data(&mut self)pub fn has_render_data(&self) -> bool[src]
pub fn has_render_data(&self) -> boolpub fn set_render_data(&mut self, v: ObservationRender)[src]
pub fn set_render_data(&mut self, v: ObservationRender)pub fn mut_render_data(&mut self) -> &mut ObservationRender[src]
pub fn mut_render_data(&mut self) -> &mut ObservationRenderpub fn take_render_data(&mut self) -> ObservationRender[src]
pub fn take_render_data(&mut self) -> ObservationRenderpub fn get_render_data(&self) -> &ObservationRender[src]
pub fn get_render_data(&self) -> &ObservationRenderpub fn clear_ui_data(&mut self)[src]
pub fn clear_ui_data(&mut self)pub fn has_ui_data(&self) -> bool[src]
pub fn has_ui_data(&self) -> boolpub fn set_ui_data(&mut self, v: ObservationUI)[src]
pub fn set_ui_data(&mut self, v: ObservationUI)pub fn mut_ui_data(&mut self) -> &mut ObservationUI[src]
pub fn mut_ui_data(&mut self) -> &mut ObservationUIpub fn take_ui_data(&mut self) -> ObservationUI[src]
pub fn take_ui_data(&mut self) -> ObservationUIpub fn get_ui_data(&self) -> &ObservationUI[src]
pub fn get_ui_data(&self) -> &ObservationUITrait Implementations
impl Default for Observation[src]
impl Default for Observationfn default() -> Observation[src]
fn default() -> Observationimpl PartialEq<Observation> for Observation[src]
impl PartialEq<Observation> for Observationfn eq(&self, other: &Observation) -> bool[src]
fn eq(&self, other: &Observation) -> boolfn ne(&self, other: &Observation) -> bool[src]
fn ne(&self, other: &Observation) -> boolimpl Clone for Observation[src]
impl Clone for Observationfn clone(&self) -> Observation[src]
fn clone(&self) -> Observationfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for Observation[src]
impl Debug for Observationimpl Message for Observation[src]
impl Message for Observationfn is_initialized(&self) -> bool[src]
fn is_initialized(&self) -> boolfn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>fn compute_size(&self) -> u32[src]
fn compute_size(&self) -> u32fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>fn get_cached_size(&self) -> u32[src]
fn get_cached_size(&self) -> u32fn get_unknown_fields(&self) -> &UnknownFields[src]
fn get_unknown_fields(&self) -> &UnknownFieldsfn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFieldsfn as_any(&self) -> &dyn Any[src]
fn as_any(&self) -> &dyn Anyfn as_any_mut(&mut self) -> &mut dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Anyfn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>fn descriptor(&self) -> &'static MessageDescriptor[src]
fn descriptor(&self) -> &'static MessageDescriptorfn new() -> Observation[src]
fn new() -> Observationfn descriptor_static() -> &'static MessageDescriptor[src]
fn descriptor_static() -> &'static MessageDescriptorfn default_instance() -> &'static Observation[src]
fn default_instance() -> &'static Observationfn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>Write the message to the stream. Read more
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>Write the message to the stream prepending the message with message length encoded as varint. Read more
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>Write the message to the vec, prepend the message with message length encoded as varint. Read more
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>Update this message object with fields read from given stream.
fn check_initialized(&self) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>Check if all required fields of this object are initialized.
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>Write the message to the writer.
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>Write the message to bytes vec.
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>Write the message to bytes vec.
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>Write the message to the writer, prepend the message with message length encoded as varint. Read more
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
fn type_id(&self) -> TypeId
fn type_id(&self) -> TypeIdGet type id for downcasting.
impl Clear for Observation[src]
impl Clear for Observationimpl ProtobufValue for Observation[src]
impl ProtobufValue for Observationfn as_ref(&self) -> ProtobufValueRef[src]
fn as_ref(&self) -> ProtobufValueReffn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> boolfn as_ref_copy(&self) -> ProtobufValueRef<'static>
fn as_ref_copy(&self) -> ProtobufValueRef<'static>Auto Trait Implementations
impl Send for Observation
impl Send for Observationimpl Sync for Observation
impl Sync for ObservationBlanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut T