[−][src]Enum sc2_proto::data::Attribute
Variants
Light
Armored
Biological
Mechanical
Robotic
Psionic
Massive
Structure
Hover
Heroic
Summoned
Trait Implementations
impl Default for Attribute
[src]
impl Default for Attribute
impl PartialEq<Attribute> for Attribute
[src]
impl PartialEq<Attribute> for Attribute
fn eq(&self, other: &Attribute) -> bool
[src]
fn eq(&self, other: &Attribute) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for Attribute
[src]
impl Clone for Attribute
fn clone(&self) -> Attribute
[src]
fn clone(&self) -> Attribute
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Attribute
[src]
impl Copy for Attribute
impl Eq for Attribute
[src]
impl Eq for Attribute
impl Debug for Attribute
[src]
impl Debug for Attribute
impl Hash for Attribute
[src]
impl Hash for Attribute
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl ProtobufEnum for Attribute
[src]
impl ProtobufEnum for Attribute
fn value(&self) -> i32
[src]
fn value(&self) -> i32
fn from_i32(value: i32) -> Option<Attribute>
[src]
fn from_i32(value: i32) -> Option<Attribute>
fn values() -> &'static [Self]
[src]
fn values() -> &'static [Self]
fn enum_descriptor_static() -> &'static EnumDescriptor
[src]
fn enum_descriptor_static() -> &'static EnumDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
impl ProtobufValue for Attribute
[src]
impl ProtobufValue for Attribute
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_ref(&self) -> ProtobufValueRef
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Auto Trait Implementations
Blanket 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 T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
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) -> TypeId
impl<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
🔬 This is a nightly-only experimental API. (
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