pub struct RayState {
pub x: f64,
pub h: f64,
pub dh: f64,
}Fields§
§x: f64§h: f64§dh: f64Implementations§
Trait Implementations§
Source§impl State for RayState
impl State for RayState
type Derivative = RayStateDerivative
fn shift_in_place(&mut self, dir: &RayStateDerivative, amount: f64)
fn shift(&self, dir: &Self::Derivative, amount: f64) -> Self
impl Copy for RayState
Auto Trait Implementations§
impl Freeze for RayState
impl RefUnwindSafe for RayState
impl Send for RayState
impl Sync for RayState
impl Unpin for RayState
impl UnwindSafe for RayState
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