pub struct B2rayCastInput {
pub p1: B2vec2,
pub p2: B2vec2,
pub max_fraction: f32,
}Expand description
Ray-cast input data. The ray extends from p1 to p1 + max_fraction * (p2 - p1).
Fields§
§p1: B2vec2§p2: B2vec2§max_fraction: f32Trait Implementations§
Source§impl Clone for B2rayCastInput
impl Clone for B2rayCastInput
Source§fn clone(&self) -> B2rayCastInput
fn clone(&self) -> B2rayCastInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 B2rayCastInput
impl Debug for B2rayCastInput
impl Copy for B2rayCastInput
Auto Trait Implementations§
impl Freeze for B2rayCastInput
impl RefUnwindSafe for B2rayCastInput
impl Send for B2rayCastInput
impl Sync for B2rayCastInput
impl Unpin for B2rayCastInput
impl UnsafeUnpin for B2rayCastInput
impl UnwindSafe for B2rayCastInput
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