Struct rust_raylib::ffi::Ray
source · #[repr(C)]pub struct Ray {
pub position: Vector3,
pub direction: Vector3,
}Expand description
Ray, ray for raycasting
Fields§
§position: Vector3Ray position (origin)
direction: Vector3Ray direction
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Ray
impl Send for Ray
impl Sync for Ray
impl Unpin for Ray
impl UnwindSafe for Ray
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