Struct rbx_types::Vector3int16
source · pub struct Vector3int16 {
pub x: i16,
pub y: i16,
pub z: i16,
}
Expand description
A version of Vector3
whose coordinates are signed 16-bit
integers. Vector3int16
is often used when working with Terrain.
See Also
Vector3
, which is used for most values.- Vector3int16 on Roblox Developer Hub
Fields§
§x: i16
§y: i16
§z: i16
Implementations§
Trait Implementations§
source§impl Clone for Vector3int16
impl Clone for Vector3int16
source§fn clone(&self) -> Vector3int16
fn clone(&self) -> Vector3int16
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 Vector3int16
impl Debug for Vector3int16
source§impl From<Vector3int16> for Variant
impl From<Vector3int16> for Variant
source§fn from(value: Vector3int16) -> Self
fn from(value: Vector3int16) -> Self
Converts to this type from the input type.
source§impl PartialEq for Vector3int16
impl PartialEq for Vector3int16
source§fn eq(&self, other: &Vector3int16) -> bool
fn eq(&self, other: &Vector3int16) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Vector3int16
impl Eq for Vector3int16
impl StructuralEq for Vector3int16
impl StructuralPartialEq for Vector3int16
Auto Trait Implementations§
impl RefUnwindSafe for Vector3int16
impl Send for Vector3int16
impl Sync for Vector3int16
impl Unpin for Vector3int16
impl UnwindSafe for Vector3int16
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