Struct sc2_proto::raw::StartRaw [−][src]
Generated files are compatible only with the same version of protobuf runtime.
Fields
map_size: SingularPtrField<Size2DI>
pathing_grid: SingularPtrField<ImageData>
terrain_height: SingularPtrField<ImageData>
placement_grid: SingularPtrField<ImageData>
playable_area: SingularPtrField<RectangleI>
start_locations: RepeatedField<Point2D>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl StartRaw
[src]
pub fn new() -> StartRaw
[src]
pub fn get_map_size(&self) -> &Size2DI
[src]
pub fn clear_map_size(&mut self)
[src]
pub fn has_map_size(&self) -> bool
[src]
pub fn set_map_size(&mut self, v: Size2DI)
[src]
pub fn mut_map_size(&mut self) -> &mut Size2DI
[src]
pub fn take_map_size(&mut self) -> Size2DI
[src]
pub fn get_pathing_grid(&self) -> &ImageData
[src]
pub fn clear_pathing_grid(&mut self)
[src]
pub fn has_pathing_grid(&self) -> bool
[src]
pub fn set_pathing_grid(&mut self, v: ImageData)
[src]
pub fn mut_pathing_grid(&mut self) -> &mut ImageData
[src]
pub fn take_pathing_grid(&mut self) -> ImageData
[src]
pub fn get_terrain_height(&self) -> &ImageData
[src]
pub fn clear_terrain_height(&mut self)
[src]
pub fn has_terrain_height(&self) -> bool
[src]
pub fn set_terrain_height(&mut self, v: ImageData)
[src]
pub fn mut_terrain_height(&mut self) -> &mut ImageData
[src]
pub fn take_terrain_height(&mut self) -> ImageData
[src]
pub fn get_placement_grid(&self) -> &ImageData
[src]
pub fn clear_placement_grid(&mut self)
[src]
pub fn has_placement_grid(&self) -> bool
[src]
pub fn set_placement_grid(&mut self, v: ImageData)
[src]
pub fn mut_placement_grid(&mut self) -> &mut ImageData
[src]
pub fn take_placement_grid(&mut self) -> ImageData
[src]
pub fn get_playable_area(&self) -> &RectangleI
[src]
pub fn clear_playable_area(&mut self)
[src]
pub fn has_playable_area(&self) -> bool
[src]
pub fn set_playable_area(&mut self, v: RectangleI)
[src]
pub fn mut_playable_area(&mut self) -> &mut RectangleI
[src]
pub fn take_playable_area(&mut self) -> RectangleI
[src]
pub fn get_start_locations(&self) -> &[Point2D]
[src]
pub fn clear_start_locations(&mut self)
[src]
pub fn set_start_locations(&mut self, v: RepeatedField<Point2D>)
[src]
pub fn mut_start_locations(&mut self) -> &mut RepeatedField<Point2D>
[src]
pub fn take_start_locations(&mut self) -> RepeatedField<Point2D>
[src]
Trait Implementations
impl Clear for StartRaw
[src]
impl Clone for StartRaw
[src]
impl Debug for StartRaw
[src]
impl Default for StartRaw
[src]
impl<'a> Default for &'a StartRaw
[src]
impl Message for StartRaw
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> StartRaw
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static StartRaw
[src]
pub fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
[src]
pub fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
impl PartialEq<StartRaw> for StartRaw
[src]
impl ProtobufValue for StartRaw
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
impl StructuralPartialEq for StartRaw
[src]
Auto Trait Implementations
impl RefUnwindSafe for StartRaw
[src]
impl Send for StartRaw
[src]
impl Sync for StartRaw
[src]
impl Unpin for StartRaw
[src]
impl UnwindSafe for StartRaw
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,