pub struct Vector(_);
Available on crate feature
luau
only.Expand description
A Luau vector type.
By default vectors are 3-dimensional, but can be 4-dimensional
if the luau-vector4
feature is enabled.
Implementations§
Trait Implementations§
source§impl PartialEq<[f32; 3]> for Vector
impl PartialEq<[f32; 3]> for Vector
source§impl PartialEq<Vector> for Vector
impl PartialEq<Vector> for Vector
impl Copy for Vector
impl StructuralPartialEq for Vector
Auto Trait Implementations§
impl RefUnwindSafe for Vector
impl Send for Vector
impl Sync for Vector
impl Unpin for Vector
impl UnwindSafe for Vector
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