pub struct RayOptions {
pub fields: Option<Vec<usize>>,
pub waves: Option<Vec<usize>>,
pub px: Vec<f64>,
pub py: Vec<f64>,
pub surfaces: Option<Vec<usize>>,
}Expand description
光線の表の作り方
Fields§
§fields: Option<Vec<usize>>視野・波長(0 始まり)。None で全視野・主波長
waves: Option<Vec<usize>>§px: Vec<f64>瞳座標
py: Vec<f64>§surfaces: Option<Vec<usize>>書く面(None で物体面を除く全部、像面まで)
Trait Implementations§
Source§impl Clone for RayOptions
impl Clone for RayOptions
Auto Trait Implementations§
impl Freeze for RayOptions
impl RefUnwindSafe for RayOptions
impl Send for RayOptions
impl Sync for RayOptions
impl Unpin for RayOptions
impl UnsafeUnpin for RayOptions
impl UnwindSafe for RayOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more