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