#[repr(C)]pub struct Vector2Int {
pub m_x: i32,
pub m_y: i32,
}Expand description
Fields§
§m_x: i32§m_y: i32Implementations§
Source§impl Vector2Int
impl Vector2Int
pub fn s_zero() -> Vector2Int
pub fn set_s_zero(value: Vector2Int)
pub fn s_one() -> Vector2Int
pub fn set_s_one(value: Vector2Int)
pub fn s_up() -> Vector2Int
pub fn set_s_up(value: Vector2Int)
pub fn s_down() -> Vector2Int
pub fn set_s_down(value: Vector2Int)
pub fn s_left() -> Vector2Int
pub fn set_s_left(value: Vector2Int)
pub fn s_right() -> Vector2Int
pub fn set_s_right(value: Vector2Int)
Source§impl Vector2Int
impl Vector2Int
Sourcepub fn max(lhs: impl Into<Vector2Int>, rhs: impl Into<Vector2Int>) -> Vector2Int
pub fn max(lhs: impl Into<Vector2Int>, rhs: impl Into<Vector2Int>) -> Vector2Int
Max(crate::unity_engine::vector2int::Vector2Int, crate::unity_engine::vector2int::Vector2Int) overload
Sourcepub fn op_implicit(v: impl Into<Vector2Int>) -> Vector2
pub fn op_implicit(v: impl Into<Vector2Int>) -> Vector2
op_Implicit(crate::unity_engine::vector2int::Vector2Int) overload
Sourcepub fn op_equality(
lhs: impl Into<Vector2Int>,
rhs: impl Into<Vector2Int>,
) -> bool
pub fn op_equality( lhs: impl Into<Vector2Int>, rhs: impl Into<Vector2Int>, ) -> bool
op_Equality(crate::unity_engine::vector2int::Vector2Int, crate::unity_engine::vector2int::Vector2Int) overload
Sourcepub fn op_inequality(
lhs: impl Into<Vector2Int>,
rhs: impl Into<Vector2Int>,
) -> bool
pub fn op_inequality( lhs: impl Into<Vector2Int>, rhs: impl Into<Vector2Int>, ) -> bool
op_Inequality(crate::unity_engine::vector2int::Vector2Int, crate::unity_engine::vector2int::Vector2Int) overload
Sourcepub fn get_zero() -> Vector2Int
pub fn get_zero() -> Vector2Int
get_zero() overload
Sourcepub fn get_one() -> Vector2Int
pub fn get_one() -> Vector2Int
get_one() overload
Source§impl Vector2Int
impl Vector2Int
Sourcepub fn equals(&mut self, other: impl Into<Object>) -> bool
pub fn equals(&mut self, other: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn equals_2(&mut self, other: impl Into<Vector2Int>) -> bool
pub fn equals_2(&mut self, other: impl Into<Vector2Int>) -> bool
Equals(crate::unity_engine::vector2int::Vector2Int) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Source§impl Vector2Int
impl Vector2Int
pub fn get_x_method_info() -> &'static MethodInfo
pub fn set_x_method_info() -> &'static MethodInfo
pub fn get_y_method_info() -> &'static MethodInfo
pub fn set_y_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn max_method_info() -> &'static MethodInfo
pub fn op_implicit_method_info() -> &'static MethodInfo
pub fn op_equality_method_info() -> &'static MethodInfo
pub fn op_inequality_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn get_zero_method_info() -> &'static MethodInfo
pub fn get_one_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for Vector2Int
impl ClassIdentity for Vector2Int
Source§impl Clone for Vector2Int
impl Clone for Vector2Int
Source§fn clone(&self) -> Vector2Int
fn clone(&self) -> Vector2Int
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Vector2Int
Auto Trait Implementations§
impl Freeze for Vector2Int
impl RefUnwindSafe for Vector2Int
impl Send for Vector2Int
impl Sync for Vector2Int
impl Unpin for Vector2Int
impl UnwindSafe for Vector2Int
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)