#[repr(C)]pub struct Vector3Int {
pub m_x: i32,
pub m_y: i32,
pub m_z: i32,
}Expand description
Fields§
§m_x: i32§m_y: i32§m_z: i32Implementations§
Source§impl Vector3Int
impl Vector3Int
pub fn s_zero() -> Vector3Int
pub fn set_s_zero(value: Vector3Int)
pub fn s_one() -> Vector3Int
pub fn set_s_one(value: Vector3Int)
pub fn s_up() -> Vector3Int
pub fn set_s_up(value: Vector3Int)
pub fn s_down() -> Vector3Int
pub fn set_s_down(value: Vector3Int)
pub fn s_left() -> Vector3Int
pub fn set_s_left(value: Vector3Int)
pub fn s_right() -> Vector3Int
pub fn set_s_right(value: Vector3Int)
pub fn s_forward() -> Vector3Int
pub fn set_s_forward(value: Vector3Int)
pub fn s_back() -> Vector3Int
pub fn set_s_back(value: Vector3Int)
Source§impl Vector3Int
impl Vector3Int
Sourcepub fn op_equality(
lhs: impl Into<Vector3Int>,
rhs: impl Into<Vector3Int>,
) -> bool
pub fn op_equality( lhs: impl Into<Vector3Int>, rhs: impl Into<Vector3Int>, ) -> bool
op_Equality(crate::unity_engine::vector3int::Vector3Int, crate::unity_engine::vector3int::Vector3Int) overload
Source§impl Vector3Int
impl Vector3Int
Sourcepub fn ctor(&mut self, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>)
pub fn ctor(&mut self, x: impl Into<i32>, y: impl Into<i32>, z: impl Into<i32>)
.ctor(i32, i32, i32) overload
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<Vector3Int>) -> bool
pub fn equals_2(&mut self, other: impl Into<Vector3Int>) -> bool
Equals(crate::unity_engine::vector3int::Vector3Int) 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 Vector3Int
impl Vector3Int
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 get_z_method_info() -> &'static MethodInfo
pub fn set_z_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn op_equality_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 cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for Vector3Int
impl ClassIdentity for Vector3Int
Source§impl Clone for Vector3Int
impl Clone for Vector3Int
Source§fn clone(&self) -> Vector3Int
fn clone(&self) -> Vector3Int
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 Vector3Int
Auto Trait Implementations§
impl Freeze for Vector3Int
impl RefUnwindSafe for Vector3Int
impl Send for Vector3Int
impl Sync for Vector3Int
impl Unpin for Vector3Int
impl UnwindSafe for Vector3Int
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)