pub struct Pointer<S: Scalar> {
pub ray: Ray<S>,
pub reach: Reach<S>,
}Expand description
Where the pointer is: the ray from the eye through it, and how far from that ray it reaches.
Fields§
§ray: Ray<S>§reach: Reach<S>Implementations§
Trait Implementations§
impl<S: Copy + Scalar> Copy for Pointer<S>
Source§impl<'de, S> Deserialize<'de> for Pointer<S>where
S: Scalar,
impl<'de, S> Deserialize<'de> for Pointer<S>where
S: Scalar,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<S: PartialEq + Scalar> PartialEq for Pointer<S>
impl<S: PartialEq + Scalar> PartialEq for Pointer<S>
impl<S: PartialEq + Scalar> StructuralPartialEq for Pointer<S>
Auto Trait Implementations§
impl<S> Freeze for Pointer<S>where
S: Freeze,
impl<S> RefUnwindSafe for Pointer<S>where
S: RefUnwindSafe,
impl<S> Send for Pointer<S>
impl<S> Sync for Pointer<S>
impl<S> Unpin for Pointer<S>where
S: Unpin,
impl<S> UnsafeUnpin for Pointer<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Pointer<S>where
S: UnwindSafe,
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