pub enum AbilityData_Target {
None = 1,
Point = 2,
Unit = 3,
PointOrUnit = 4,
PointOrNone = 5,
}
Variants§
Trait Implementations§
Source§impl Clone for AbilityData_Target
impl Clone for AbilityData_Target
Source§fn clone(&self) -> AbilityData_Target
fn clone(&self) -> AbilityData_Target
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AbilityData_Target
impl Debug for AbilityData_Target
Source§impl Default for AbilityData_Target
impl Default for AbilityData_Target
Source§impl Hash for AbilityData_Target
impl Hash for AbilityData_Target
Source§impl PartialEq for AbilityData_Target
impl PartialEq for AbilityData_Target
Source§impl ProtobufEnum for AbilityData_Target
impl ProtobufEnum for AbilityData_Target
Source§fn from_i32(value: i32) -> Option<AbilityData_Target>
fn from_i32(value: i32) -> Option<AbilityData_Target>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for AbilityData_Target
impl ProtobufValue for AbilityData_Target
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for AbilityData_Target
impl Eq for AbilityData_Target
impl StructuralPartialEq for AbilityData_Target
Auto Trait Implementations§
impl Freeze for AbilityData_Target
impl RefUnwindSafe for AbilityData_Target
impl Send for AbilityData_Target
impl Sync for AbilityData_Target
impl Unpin for AbilityData_Target
impl UnwindSafe for AbilityData_Target
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)